class Cucumber::Parser::GherkinBuilder
def background(background)
def background(background) @background = Ast::Background.new( Ast::Comment.new(background.comments.map{|comment| comment.value}.join("\n")), background.line, background.keyword, legacy_name_for(background.name, background.description), steps=[] ) @feature.background = @background @background.feature = @feature @step_container = @background @background.gherkin_statement(background) end