Class: Swappy::Commands::Command
- Inherits:
-
Object
- Object
- Swappy::Commands::Command
- Extended by:
- Forwardable
- Defined in:
- lib/swappy/commands/command.rb
Instance Attribute Summary collapse
-
#app_config_path ⇒ Object
readonly
Returns the value of attribute app_config_path.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(options = {}) ⇒ Command
Returns a new instance of Command.
10 11 12 13 |
# File 'lib/swappy/commands/command.rb', line 10 def initialize(={}) @options = @app_config_path = [:app_config_path] end |
Instance Attribute Details
#app_config_path ⇒ Object (readonly)
Returns the value of attribute app_config_path.
8 9 10 |
# File 'lib/swappy/commands/command.rb', line 8 def app_config_path @app_config_path end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/swappy/commands/command.rb', line 8 def @options end |