Module: Cucumber::Parser::Table::TableRow2
- Defined in:
- lib/cucumber/parser/table.rb
Instance Method Summary collapse
Instance Method Details
#build ⇒ Object
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/cucumber/parser/table.rb', line 71 def build row = cells.elements.map do |elt| value = elt.cell.text_value.strip value.empty? ? nil : value end class << row attr_accessor :line end row.line = cells.line row end |