Class: Heroku::Command::BaseWithApp

Inherits:
Base
  • Object
show all
Defined in:
lib/heroku/command/base.rb

Direct Known Subclasses

Addons, Config, Db, Domains, Logs, Maintenance, Pg, Pgbackups, Sharing, Ssl, Stack

Instance Attribute Summary

Attributes inherited from Base

#args, #options

Instance Method Summary (collapse)

Methods inherited from Base

#heroku, namespace, #rendezvous

Methods included from Helpers

#app_urls, #ask, #confirm, #confirm_billing, #confirm_command, #create_git_remote, #deprecate, #display, #display_row, #display_table, #error, #fail, #format_bytes, #format_date, #get_terminal_environment, #git, #has_git?, #home_directory, #json_decode, #json_encode, #longest, #quantify, #redisplay, #retry_on_exception, #run_command, #running_on_a_mac?, #running_on_windows?, #set_buffer, #shell, #time_ago, #truncate

Constructor Details

- (BaseWithApp) initialize(args = [], options = {})

A new instance of BaseWithApp



205
206
207
# File 'lib/heroku/command/base.rb', line 205

def initialize(args=[], options={})
  super
end

Instance Method Details

- (Object) app



209
210
211
# File 'lib/heroku/command/base.rb', line 209

def app
  extract_app
end