class Gherkin::Formatter::TagFilter
Public Class Methods
new(tags)
click to toggle source
# File lib/gherkin/formatter/tag_filter.rb, line 6 def initialize(tags) @tag_expression = TagExpression.new(tags) end
Public Instance Methods
evaluate(tags, names, ranges)
click to toggle source
# File lib/gherkin/formatter/tag_filter.rb, line 10 def evaluate(tags, names, ranges) @tag_expression.evaluate(tags.uniq) end
filter_table_body_rows(rows)
click to toggle source
# File lib/gherkin/formatter/tag_filter.rb, line 14 def filter_table_body_rows(rows) rows end