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
- #matches_name?(regexp_to_match) ⇒ Boolean
- #outline_at_line?(line) ⇒ Boolean
Instance Method Details
#at_line?(line) ⇒ Boolean
1156 1157 1158 1159 |
# File 'lib/cucumber/parser/feature.rb', line 1156 def at_line?(line) examples_keyword.line == line || table.at_line?(line) end |
#build(filter, scenario_outline) ⇒ Object
1173 1174 1175 |
# File 'lib/cucumber/parser/feature.rb', line 1173 def build(filter, scenario_outline) [examples_keyword.line, examples_keyword.text_value, name.build, table.raw(filter, scenario_outline)] end |
#has_tags?(tag_names) ⇒ Boolean
1161 1162 1163 |
# File 'lib/cucumber/parser/feature.rb', line 1161 def (tag_names) true end |
#matches_name?(regexp_to_match) ⇒ Boolean
1169 1170 1171 |
# File 'lib/cucumber/parser/feature.rb', line 1169 def matches_name?(regexp_to_match) name.build =~ regexp_to_match end |
#outline_at_line?(line) ⇒ Boolean
1165 1166 1167 |
# File 'lib/cucumber/parser/feature.rb', line 1165 def outline_at_line?(line) true end |