Class: Turnip::Node::ScenarioDefinition
- Inherits:
-
Base
- Object
- Base
- Turnip::Node::ScenarioDefinition
show all
- Defined in:
- lib/turnip/node/scenario_definition.rb
Instance Attribute Summary
Attributes inherited from Base
#raw
Instance Method Summary
collapse
Methods inherited from Base
#initialize
#line, #location
Instance Method Details
#description ⇒ Object
15
16
17
|
# File 'lib/turnip/node/scenario_definition.rb', line 15
def description
@raw.description
end
|
#keyword ⇒ Object
11
12
13
|
# File 'lib/turnip/node/scenario_definition.rb', line 11
def keyword
@raw.keyword
end
|
#name ⇒ Object
7
8
9
|
# File 'lib/turnip/node/scenario_definition.rb', line 7
def name
@raw.name
end
|
#steps ⇒ Object
19
20
21
22
23
|
# File 'lib/turnip/node/scenario_definition.rb', line 19
def steps
@steps ||= @raw.steps.map do |step|
Step.new(step)
end
end
|