class Cucumber::MultilineArgument::DataTable

def match(pattern)

Note: must use 'table:' prefix on match

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