# File lib/cucumber/parser/gherkin_builder.rb, line 27 def background(statement) @background = Ast::Background.new( Ast::Comment.new(statement.comments.map{|comment| comment.value}.join("\n")), statement.line, statement.keyword, legacy_name_for(statement.name, statement.description), steps=[] ) @feature.background = @background @background.feature = @feature @step_container = @background end