Class: Cucumber::MultilineArgument::DataTable::Builder

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/multiline_argument/data_table.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBuilder

Returns a new instance of Builder



66
67
68
# File 'lib/cucumber/multiline_argument/data_table.rb', line 66

def initialize
  @rows = []
end

Instance Attribute Details

#rowsObject (readonly)

Returns the value of attribute rows



64
65
66
# File 'lib/cucumber/multiline_argument/data_table.rb', line 64

def rows
  @rows
end

Instance Method Details

#eofObject



74
75
# File 'lib/cucumber/multiline_argument/data_table.rb', line 74

def eof
end

#row(row) ⇒ Object



70
71
72
# File 'lib/cucumber/multiline_argument/data_table.rb', line 70

def row(row)
  @rows << row
end