Sha256: 386f09241c45fa1d19c343fde53617739899d1c132e52212353881dbb89c9c6e

Contents?: true

Size: 232 Bytes

Versions: 7

Compression:

Stored size: 232 Bytes

Contents

module CsvRowModel
  module Model
    module Comparison
      extend ActiveSupport::Concern

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

      def hash
        attributes.hash
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
csv_row_model-0.4.1 lib/csv_row_model/model/comparison.rb
csv_row_model-0.4.0 lib/csv_row_model/model/comparison.rb
csv_row_model-0.3.10 lib/csv_row_model/model/comparison.rb
csv_row_model-0.3.9 lib/csv_row_model/model/comparison.rb
csv_row_model-0.3.8 lib/csv_row_model/model/comparison.rb
csv_row_model-0.3.7 lib/csv_row_model/model/comparison.rb
csv_row_model-0.3.6 lib/csv_row_model/model/comparison.rb