Class: Cucumber::Ast::Steps

Inherits:
Object show all
Defined in:
lib/cucumber/ast/steps.rb

Instance Method Summary collapse

Constructor Details

#initialize(scenario) ⇒ Steps

Returns a new instance of Steps.



4
5
6
# File 'lib/cucumber/ast/steps.rb', line 4

def initialize(scenario)
  @scenario = scenario
end

Instance Method Details

#accept(visitor) ⇒ Object



8
9
10
# File 'lib/cucumber/ast/steps.rb', line 8

def accept(visitor)
  @scenario.accept_steps(visitor)
end