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
permalink #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
permalink #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
permalink #eof ⇒ Object
[View source] [View on GitHub]
75 |
# File 'lib/cucumber/multiline_argument/data_table.rb', line 75 def eof; end |
permalink #row(row) ⇒ Object
[View source] [View on GitHub]
71 72 73 |
# File 'lib/cucumber/multiline_argument/data_table.rb', line 71 def row(row) @rows << row end |