Class: Conify::Command::AbstractCommand

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/conify/command/abstract_command.rb

Direct Known Subclasses

Global

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = [], options = {})
  @args = args
  @options = options
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



7
8
9
# File 'lib/conify/command/abstract_command.rb', line 7

def args
  @args
end

#optionsObject (readonly)

Returns the value of attribute options.



8
9
10
# File 'lib/conify/command/abstract_command.rb', line 8

def options
  @options
end