module Cucumber::Core::Gherkin::Writer::HasElements

def build(source = [])

def build(source = [])
  elements.inject(source + statements) { |acc, el| el.build(acc) }
end