Class: Kozo::Command
- Inherits:
-
Object
- Object
- Kozo::Command
- Defined in:
- lib/kozo/command.rb
Direct Known Subclasses
Kozo::Commands::Console, Kozo::Commands::Import, Kozo::Commands::Init, Kozo::Commands::Plan, Kozo::Commands::Refresh, Kozo::Commands::Show, Kozo::Commands::State, Kozo::Commands::Validate, Kozo::Commands::Version
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#configuration ⇒ Object
Returns the value of attribute configuration.
Instance Method Summary collapse
-
#initialize(configuration, *args) ⇒ Command
constructor
A new instance of Command.
- #start ⇒ Object
Constructor Details
#initialize(configuration, *args) ⇒ Command
Returns a new instance of Command.
10 11 12 13 |
# File 'lib/kozo/command.rb', line 10 def initialize(configuration, *args) @configuration = configuration @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
7 8 9 |
# File 'lib/kozo/command.rb', line 7 def args @args end |
#configuration ⇒ Object
Returns the value of attribute configuration.
8 9 10 |
# File 'lib/kozo/command.rb', line 8 def configuration @configuration end |
Instance Method Details
#start ⇒ Object
15 16 17 |
# File 'lib/kozo/command.rb', line 15 def start raise NotImplementedError end |