Class: Nukumber::Model::Step
- Inherits:
-
Object
- Object
- Nukumber::Model::Step
- Defined in:
- lib/nukumber/model/step.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#element ⇒ Object
readonly
Returns the value of attribute element.
-
#keyword ⇒ Object
readonly
Returns the value of attribute keyword.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, line, keyword, element, args) ⇒ Step
constructor
A new instance of Step.
Constructor Details
#initialize(name, line, keyword, element, args) ⇒ Step
Returns a new instance of Step.
8 9 10 |
# File 'lib/nukumber/model/step.rb', line 8 def initialize(name, line, keyword, element, args) @name, @line, @keyword, @element, @args = name, line, keyword, element, args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
6 7 8 |
# File 'lib/nukumber/model/step.rb', line 6 def args @args end |
#element ⇒ Object (readonly)
Returns the value of attribute element.
6 7 8 |
# File 'lib/nukumber/model/step.rb', line 6 def element @element end |
#keyword ⇒ Object (readonly)
Returns the value of attribute keyword.
6 7 8 |
# File 'lib/nukumber/model/step.rb', line 6 def keyword @keyword end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
6 7 8 |
# File 'lib/nukumber/model/step.rb', line 6 def line @line end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/nukumber/model/step.rb', line 6 def name @name end |