Class: Cucumber::Tree::TopDownVisitor

Inherits:
Object
  • Object
show all
Defined in:
lib/gems/cucumber-0.1.15/lib/cucumber/tree/top_down_visitor.rb

Instance Method Summary collapse

Instance Method Details

#visit_feature(feature) ⇒ Object



8
9
10
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/tree/top_down_visitor.rb', line 8

def visit_feature(feature)
  feature.accept(self)
end

#visit_features(features) ⇒ Object



4
5
6
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/tree/top_down_visitor.rb', line 4

def visit_features(features)
  features.accept(self)
end

#visit_header(header) ⇒ Object



12
13
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/tree/top_down_visitor.rb', line 12

def visit_header(header)
end

#visit_scenario(scenario) ⇒ Object



15
16
17
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/tree/top_down_visitor.rb', line 15

def visit_scenario(scenario)
  scenario.accept(self)
end

#visit_step(step) ⇒ Object



19
20
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/tree/top_down_visitor.rb', line 19

def visit_step(step)
end