Sha256: 127b21da1b78e6035884adcf08c58475627cb6eee57d869fe9f14d5cd75ed32d

Contents?: true

Size: 238 Bytes

Versions: 1

Compression:

Stored size: 238 Bytes

Contents

module CsvRowModel
  module Model
    module Comparison
      extend ActiveSupport::Concern

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

      def hash
        attributes.hash
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
csv_row_model-1.0.0.beta1 lib/csv_row_model/model/comparison.rb