Class: Cucumber::Ast::Table::Builder
- Defined in:
- lib/cucumber/ast/table.rb
Instance Attribute Summary collapse
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
Instance Method Summary collapse
- #eof ⇒ Object
-
#initialize ⇒ Builder
constructor
A new instance of Builder.
- #row(row, line_number) ⇒ Object
Constructor Details
#initialize ⇒ Builder
Returns a new instance of Builder.
39 40 41 |
# File 'lib/cucumber/ast/table.rb', line 39 def initialize @rows = [] end |
Instance Attribute Details
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
37 38 39 |
# File 'lib/cucumber/ast/table.rb', line 37 def rows @rows end |