class Cucumber::MultilineArgument::DataTable

def hashes


Use #map_column to specify how values in a column are converted.

[{'a' => '2', 'b' => '3', 'sum' => '5'}, {'a' => '7', 'b' => '9', 'sum' => '16'}]

Gets converted into the following:

| 7 | 9 | 16 |
| 2 | 3 | 5 |
| a | b | sum |

the following plain text:
Hash are the headers in the table. For example, a Table built from
Converts this table into an Array of Hash where the keys of each
def hashes
  @hashes ||= build_hashes
end