Module: Cucumber::Parser::Feature::Tags2
- Defined in:
- lib/cucumber/parser/feature.rb
Instance Method Summary collapse
Instance Method Details
#at_line?(line) ⇒ Boolean
214 215 216 |
# File 'lib/cucumber/parser/feature.rb', line 214 def at_line?(line) ts.elements.detect{|e| e.tag.line == line} end |
#build ⇒ Object
218 219 220 |
# File 'lib/cucumber/parser/feature.rb', line 218 def build Ast::Tags.new(ts.line, tag_names) end |
#tag_names ⇒ Object
222 223 224 |
# File 'lib/cucumber/parser/feature.rb', line 222 def tag_names @tag_names ||= ts.elements.map{|e| e.tag.text_value} end |