Class: Jiveapps::Command::BaseWithApp
- Defined in:
- lib/jiveapps/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, jiveapps = nil) ⇒ BaseWithApp
constructor
A new instance of BaseWithApp.
Methods inherited from Base
#extract_app, #extract_app_from_git_config, #extract_app_in_dir, #extract_option, #git_remotes, #jiveapps
Methods included from Helpers
#ask, #catch_args, #check_git_version, #confirm, #confirm_command, #debug, #debug_mode?, #display, #display_oauth_services, #error, #get_app_prop_with_default, #get_or_set_git_prop, #git_version, #has_program?, #home_directory, #run, #running_on_a_mac?, #running_on_windows?, #sh, #usage, #user_git_version
Constructor Details
#initialize(args, jiveapps = nil) ⇒ BaseWithApp
Returns a new instance of BaseWithApp.
93 94 95 96 |
# File 'lib/jiveapps/commands/base.rb', line 93 def initialize(args, jiveapps=nil) super(args, jiveapps) @app ||= extract_app end |
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app.
91 92 93 |
# File 'lib/jiveapps/commands/base.rb', line 91 def app @app end |