lib/honey_format/matrix/row_builder.rb
# Returns an object representing the row.
# @return [Row, Object] a new instance of built row.
# @param row [Array] the row array.
# @raise [InvalidRowLengthError]
#   raised when there are more row elements longer than columns
# @example Build new row
#     r = RowBuilder.new([:id])
#     r.build(['1']).id #=> '1'
Returns an object representing the row.
Returns an object representing the row .
def build(row)
      build_row!(row)
    rescue ArgumentError => e
      raise unless e.message == 'struct size differs'
      raise_invalid_row_length!(e, row)
    end
def build ( row ) build_row! ( row ) rescue ArgumentError => e raise unless e . message == 'struct size differs' raise_invalid_row_length! ( e , row ) end
Returns an object representing the row.
Returns an object representing the row .
a new instance of built row.
a new instance of built row .
Row, Object
[InvalidRowLengthError] raised when there are more row elements longer than columns
[ InvalidRowLengthError ] raised when there are more row elements longer than columns
row
the row array.
the row array .
example
None