class Cucumber::Core::Ast::DataTable
def rows_hash
The table must be exactly two columns wide
{'a' => '2', 'b' => '3'}
Gets converted into the following:
| b | 3 |
| a | 2 |
used as keys and the second column is used as values
Converts this table into a Hash where the first column is
def rows_hash verify_table_width(2) self.transpose.hashes[0] end