class Cucumber::MultilineArgument::DataTable
def match(pattern)
table.match(/table:column_1_name,column_2_name/) #=> non-nil
| x | y |
| column_1_name | column_2_name |
Example:
This is used especially for argument transforms.
Matches +pattern+ against the header row of the table.
def match(pattern) header_to_match = "table:#{headers.join(',')}" pattern.match(header_to_match) end