# File lib/cucumber/parser/gherkin_builder.rb, line 27 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 end