Method: Cucumber::Core::Test::DataTable#transpose

Defined in:
lib/cucumber/core/test/data_table.rb

#transposeObject

Returns a new, transposed table. Example:

| a | 7 | 4 |
| b | 9 | 2 |

Gets converted into the following:

| a | b |
| 7 | 9 |
| 4 | 2 |


71
72
73
# File 'lib/cucumber/core/test/data_table.rb', line 71

def transpose
  self.class.new(raw.transpose)
end