class Gherkin::Pickles::Compiler

def compile(gherkin_document, source)

def compile(gherkin_document, source)
  pickles = []
  return pickles unless gherkin_document.feature
  feature = gherkin_document.feature
  language = feature.language
  tags = feature.tags
  compile_feature(pickles, language, tags, feature, source)
  pickles
end