Module: Cucumber::Parser::Feature::ExamplesSections0
- Defined in:
- lib/cucumber/parser/feature.rb
Instance Method Summary collapse
Instance Method Details
#at_line?(line) ⇒ Boolean
1087 1088 1089 |
# File 'lib/cucumber/parser/feature.rb', line 1087 def at_line?(line) elements.detect { |e| e.at_line?(line) } end |
#build(filter, scenario_outline) ⇒ Object
1091 1092 1093 1094 1095 1096 1097 |
# File 'lib/cucumber/parser/feature.rb', line 1091 def build(filter, scenario_outline) elements.map do |e| if(filter.nil? || filter.accept?(e) || filter.outline_at_line?(scenario_outline)) e.build(filter, scenario_outline) end end.compact end |