Class: Step
- Inherits:
-
Object
- Object
- Step
- Defined in:
- lib/byci.rb
Instance Attribute Summary collapse
-
#_command ⇒ Object
readonly
Returns the value of attribute _command.
-
#_name ⇒ Object
readonly
Returns the value of attribute _name.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#_command ⇒ Object (readonly)
Returns the value of attribute _command.
30 31 32 |
# File 'lib/byci.rb', line 30 def _command @_command end |
#_name ⇒ Object (readonly)
Returns the value of attribute _name.
30 31 32 |
# File 'lib/byci.rb', line 30 def _name @_name end |
Class Method Details
.with ⇒ Object
32 33 34 |
# File 'lib/byci.rb', line 32 def self.with Step.new end |
Instance Method Details
#command(command) ⇒ Object
41 42 43 44 |
# File 'lib/byci.rb', line 41 def command(command) @_command = command self end |
#name(name) ⇒ Object
36 37 38 39 |
# File 'lib/byci.rb', line 36 def name(name) @_name = name self end |