class Cucumber::Runtime::ForProgrammingLanguages
def table(text_or_table, file=nil, line=0)
])
%w{ CUC-101 Peeler 22 }
%w{ INT-100 Taxi 114 },
%w{ account description amount },
table([
or a 2D Array:
})
| CUC-101 | Peeler | 22 |
| INT-100 | Taxi | 114 |
| account | description | amount |
table(%{
be a String:
Returns a Cucumber::MultilineArgument::DataTable for +text_or_table+, which can either
def table(text_or_table, file=nil, line=0) if !file location = Core::Ast::Location.of_caller else location = Core::Ast::Location.new(file, line) end MultilineArgument::DataTable.from(text_or_table, location) end