Module: CsvRowModel::Model::Comparison

Extended by:
ActiveSupport::Concern
Included in:
Export::Attributes, Import::Attributes
Defined in:
lib/csv_row_model/model/comparison.rb

Instance Method Summary collapse

Instance Method Details

#eql?(other) ⇒ Boolean

Returns:



6
7
8
# File 'lib/csv_row_model/model/comparison.rb', line 6

def eql?(other)
  other.attributes == attributes
end

#hashObject



10
11
12
# File 'lib/csv_row_model/model/comparison.rb', line 10

def hash
  attributes.hash
end