Module: Cucumber::Parser::Feature::Examples1
- Defined in:
- lib/cucumber/parser/feature.rb
Instance Method Summary collapse
- #at_line?(line) ⇒ Boolean
- #build(filter, scenario_outline) ⇒ Object
- #has_tags?(tag_names) ⇒ Boolean
- #outline_at_line?(line) ⇒ Boolean
Instance Method Details
#at_line?(line) ⇒ Boolean
1138 1139 1140 1141 |
# File 'lib/cucumber/parser/feature.rb', line 1138 def at_line?(line) examples_keyword.line == line || table.at_line?(line) end |
#build(filter, scenario_outline) ⇒ Object
1151 1152 1153 |
# File 'lib/cucumber/parser/feature.rb', line 1151 def build(filter, scenario_outline) [examples_keyword.line, examples_keyword.text_value, name.text_value, table.raw(filter, scenario_outline)] end |
#has_tags?(tag_names) ⇒ Boolean
1143 1144 1145 |
# File 'lib/cucumber/parser/feature.rb', line 1143 def (tag_names) true end |
#outline_at_line?(line) ⇒ Boolean
1147 1148 1149 |
# File 'lib/cucumber/parser/feature.rb', line 1147 def outline_at_line?(line) true end |