Class: Taf::TestSteps::Step
- Inherits:
-
Object
- Object
- Taf::TestSteps::Step
- Defined in:
- lib/taf/test_steps/step.rb
Overview
steps.rb - methods for collecting steps info for tap report file.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#index ⇒ Object
readonly
Returns the value of attribute index.
Instance Method Summary collapse
-
#initialize(index:, description:) ⇒ Step
constructor
A new instance of Step.
Constructor Details
#initialize(index:, description:) ⇒ Step
Returns a new instance of Step.
9 10 11 12 13 14 15 |
# File 'lib/taf/test_steps/step.rb', line 9 def initialize( index:, description: ) @index = index @description = description end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
7 8 9 |
# File 'lib/taf/test_steps/step.rb', line 7 def description @description end |
#index ⇒ Object (readonly)
Returns the value of attribute index.
7 8 9 |
# File 'lib/taf/test_steps/step.rb', line 7 def index @index end |