Module: Cucumber::Parser::Feature::Feature2
- Defined in:
- lib/cucumber/parser/feature.rb
Instance Method Summary collapse
Instance Method Details
#build(filter) ⇒ Object
63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/cucumber/parser/feature.rb', line 63 def build(filter) if(filter.nil? || feature_elements.accept?(filter)) background = bg.respond_to?(:build) ? bg.build : nil Ast::Feature.new( background, comment.build, .build, header.text_value, feature_elements.build(background, filter) ) end end |
#has_tags?(tag_names) ⇒ Boolean
59 60 61 |
# File 'lib/cucumber/parser/feature.rb', line 59 def (tag_names) .(tag_names) end |