class Cucumber::Core::Ast::DataTable

def to_hash(cells) #:nodoc:

:nodoc:
def to_hash(cells) #:nodoc:
  hash = Hash.new do |the_hash, key|
    the_hash[key.to_s] if key.is_a?(Symbol)
  end
  column_names.each_with_index do |column_name, column_index|
    hash[column_name] = cells.value(column_index)
  end
  hash
end