Class: Heroku::Command::BaseWithApp
- Defined in:
- lib/heroku/commands/base.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(args, heroku = nil) ⇒ BaseWithApp
constructor
A new instance of BaseWithApp.
Methods inherited from Base
#app_urls, #ask, #display, #error, #escape, #extract_app, #extract_app_in_dir, #extract_option, #format_date, #git_remotes, #git_url, #heroku, #shell, #web_url
Methods included from Helpers
#home_directory, #running_on_a_mac?, #running_on_windows?
Constructor Details
#initialize(args, heroku = nil) ⇒ BaseWithApp
Returns a new instance of BaseWithApp.
128 129 130 131 |
# File 'lib/heroku/commands/base.rb', line 128 def initialize(args, heroku=nil) super(args, heroku) @app ||= extract_app end |
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app.
126 127 128 |
# File 'lib/heroku/commands/base.rb', line 126 def app @app end |