Method: Ruport::DataRow#==
- Defined in:
- lib/ruport/data_row.rb
#==(other) ⇒ Object
Compares two DataRow objects. If values and fields are the same (and in the correct order) returns true. Otherwise returns false.
135 136 137 |
# File 'lib/ruport/data_row.rb', line 135 def ==(other) self.to_a.eql?(other.to_a) && @fields.eql?(other.fields) end |