Class: Lite::Command::Step
- Inherits:
-
Object
- Object
- Lite::Command::Step
- Defined in:
- lib/lite/command/step.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(command, options) ⇒ Step
constructor
A new instance of Step.
- #run?(cmd) ⇒ Boolean
Constructor Details
#initialize(command, options) ⇒ Step
Returns a new instance of Step.
9 10 11 12 |
# File 'lib/lite/command/step.rb', line 9 def initialize(command, ) @command = command @options = end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
7 8 9 |
# File 'lib/lite/command/step.rb', line 7 def command @command end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
7 8 9 |
# File 'lib/lite/command/step.rb', line 7 def @options end |