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.
67 68 69 |
# File 'lib/cucumber/multiline_argument/data_table.rb', line 67 def initialize @rows = [] end |
Instance Attribute Details
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
65 66 67 |
# File 'lib/cucumber/multiline_argument/data_table.rb', line 65 def rows @rows end |
Instance Method Details
#eof ⇒ Object
75 |
# File 'lib/cucumber/multiline_argument/data_table.rb', line 75 def eof; end |
#row(row) ⇒ Object
71 72 73 |
# File 'lib/cucumber/multiline_argument/data_table.rb', line 71 def row(row) @rows << row end |