class Cucumber::Ast::Background

def to_sexp

def to_sexp
  init
  sexp = [:background, @line, @keyword]
  sexp += [@name] unless @name.empty?
  comment = @comment.to_sexp
  sexp += [comment] if comment
  steps = @steps.to_sexp
  sexp += steps if steps.any?
  sexp
end