Class Heroku::Command::Base
In: lib/heroku/command/base.rb
Parent: Object

Methods

Included Modules

Heroku::Helpers

Attributes

args  [R] 
options  [R] 

Public Class methods

Protected Class methods

Parse the caller format and identify the file and line number as identified in : www.ruby-doc.org/core/classes/Kernel.html#M001397. This will look for a colon followed by a digit as the delimiter. The biggest complication is windows paths, which have a color after the drive letter. This regex will match paths as anything from the beginning to a colon directly followed by a number (the line number).

Examples of the caller format :

  • c:/Ruby192/lib/.../lib/heroku/command/addons.rb:8:in `<module:Command>’
  • c:/Ruby192/lib/.../heroku-2.0.1/lib/heroku/command/pg.rb:96:in `<class:Pg>’
  • /Users/ph7/...../xray-1.1/lib/xray/thread_dump_signal_handler.rb:9

Public Instance methods

Protected Instance methods

[Validate]