Method: Cucumber::MultilineArgument::DataTable#raw
- Defined in:
- lib/cucumber/multiline_argument/data_table.rb
#raw ⇒ Object
Gets the raw data of this table. For example, a Table built from the following plain text:
| a | b |
| c | d |
gets converted into the following:
[['a', 'b'], ['c', 'd']]
193 194 195 196 197 |
# File 'lib/cucumber/multiline_argument/data_table.rb', line 193 def raw cell_matrix.map do |row| row.map(&:value) end end |