Class: Turnip::Builder::Scenario
- Inherits:
-
Object
- Object
- Turnip::Builder::Scenario
- Defined in:
- lib/turnip/builder.rb
Instance Attribute Summary collapse
-
#steps ⇒ Object
Returns the value of attribute steps.
Instance Method Summary collapse
-
#initialize(raw) ⇒ Scenario
constructor
A new instance of Scenario.
Methods included from Line
Methods included from Name
Methods included from Tags
#metadata_hash, #tags, #tags_hash
Constructor Details
#initialize(raw) ⇒ Scenario
Returns a new instance of Scenario.
65 66 67 68 |
# File 'lib/turnip/builder.rb', line 65 def initialize(raw) @raw = raw @steps = [] end |
Instance Attribute Details
#steps ⇒ Object
Returns the value of attribute steps.
63 64 65 |
# File 'lib/turnip/builder.rb', line 63 def steps @steps end |