class Cucumber::Core::Ast::DataTable

def hashes_to_array(hashes)

def hashes_to_array(hashes)
  header = hashes[0].keys.sort
  [header] + hashes.map{|hash| header.map{|key| hash[key]}}
end