Class: Nukumber::Model::Scenario
- Inherits:
-
FeatureElement
- Object
- FeatureElement
- Nukumber::Model::Scenario
- Defined in:
- lib/nukumber/model/scenario.rb
Instance Attribute Summary collapse
-
#tags ⇒ Object
Returns the value of attribute tags.
Attributes inherited from FeatureElement
#description, #feature, #line, #name, #steps
Instance Method Summary collapse
-
#initialize(name, line, description, feature) ⇒ Scenario
constructor
A new instance of Scenario.
- #keyword ⇒ Object
Methods inherited from FeatureElement
#longsym, #shortsym, #step_args, #to_s
Constructor Details
#initialize(name, line, description, feature) ⇒ Scenario
Returns a new instance of Scenario.
8 9 10 11 |
# File 'lib/nukumber/model/scenario.rb', line 8 def initialize(name, line, description, feature) super(name, line, description, feature) @tags = [] end |
Instance Attribute Details
#tags ⇒ Object
Returns the value of attribute tags.
6 7 8 |
# File 'lib/nukumber/model/scenario.rb', line 6 def @tags end |
Instance Method Details
#keyword ⇒ Object
13 14 15 |
# File 'lib/nukumber/model/scenario.rb', line 13 def keyword 'Scenario' end |