module Cucumber::Parser::Feature::Background1
def at_line?(line)
def at_line?(line) background_keyword.line == line || steps.at_line?(line) end
def build
def build Ast::Background.new( comment.build, background_keyword.line, background_keyword.text_value, name.build, steps.build ) end
def has_all_tags?(tag_names)
def has_all_tags?(tag_names) feature_tags = self.parent.tags feature_tags.has_all_tags?(tag_names) end
def has_tags?(tag_names)
def has_tags?(tag_names) feature_tags = self.parent.tags feature_tags.has_tags?(tag_names) end
def matches_name?(regexp_to_match)
def matches_name?(regexp_to_match) name.build =~ regexp_to_match end