class Cucumber::Core::Test::DataTable
def transpose
| 4 | 2 |
| 7 | 9 |
| a | b |
Gets converted into the following:
| b | 9 | 2 |
| a | 7 | 4 |
Returns a new, transposed table. Example:
def transpose self.class.new(raw.transpose) end
def transpose self.class.new(raw.transpose) end