Class: Cucumber::MultilineArgument::DataTable::Builder
- Inherits:
-
Object
- Object
- Cucumber::MultilineArgument::DataTable::Builder
- Defined in:
- lib/cucumber/multiline_argument/data_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) ⇒ Object
Constructor Details
#initialize ⇒ Builder
Returns a new instance of Builder.
68 69 70 |
# File 'lib/cucumber/multiline_argument/data_table.rb', line 68 def initialize @rows = [] end |
Instance Attribute Details
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
66 67 68 |
# File 'lib/cucumber/multiline_argument/data_table.rb', line 66 def rows @rows end |
Instance Method Details
#eof ⇒ Object
76 |
# File 'lib/cucumber/multiline_argument/data_table.rb', line 76 def eof; end |
#row(row) ⇒ Object
72 73 74 |
# File 'lib/cucumber/multiline_argument/data_table.rb', line 72 def row(row) @rows << row end |