Class: Conify::Command::AbstractCommand
- Inherits:
-
Object
- Object
- Conify::Command::AbstractCommand
- Includes:
- Helpers
- Defined in:
- lib/conify/command/abstract_command.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(args = [], options = {}) ⇒ AbstractCommand
constructor
A new instance of AbstractCommand.
Methods included from Helpers
#allow_user_response, #ask_for_conflux_creds, #ask_for_password, #ask_for_password_on_windows, #camelize, #display, #echo_off, #echo_on, #error, #exclusive_deep_merge, #format_with_bang, #host, #host_url, #kensa_manifest_name, #kensa_manifest_path, #manifest_content, #manifest_filename, #manifest_path, #manually_added_methods, #open_url, #running_on_a_mac?, #running_on_windows?, #site_url, #to_table, #with_tty
Constructor Details
#initialize(args = [], options = {}) ⇒ AbstractCommand
Returns a new instance of AbstractCommand.
10 11 12 13 |
# File 'lib/conify/command/abstract_command.rb', line 10 def initialize(args = [], = {}) @args = args @options = end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
7 8 9 |
# File 'lib/conify/command/abstract_command.rb', line 7 def args @args end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/conify/command/abstract_command.rb', line 8 def @options end |