module Cucumber::Core::Gherkin::Writer::HasElements
def self.included(base)
def self.included(base) base.extend HasElementBuilders end
def build(source = [])
def build(source = []) elements.inject(source + statements) { |acc, el| el.build(acc) } end
def elements
def elements @elements ||= [] end