Class: Cucumber::Tree::GivenScenario
- Defined in:
- lib/gems/cucumber-0.1.15/lib/cucumber/tree/given_scenario.rb
Instance Method Summary collapse
-
#initialize(scenario, name, line) ⇒ GivenScenario
constructor
A new instance of GivenScenario.
- #steps ⇒ Object
Constructor Details
#initialize(scenario, name, line) ⇒ GivenScenario
Returns a new instance of GivenScenario.
4 5 6 |
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/tree/given_scenario.rb', line 4 def initialize(scenario, name, line) @scenario, @name, @line = scenario, name, line end |
Instance Method Details
#steps ⇒ Object
8 9 10 |
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/tree/given_scenario.rb', line 8 def steps @scenario.given_scenario_steps(@name) end |