Sha256: ae69ccc97bce4a069e6a0d1500989c98be4d87e70f9cdbe4d2937e3be74e988f

Contents?: true

Size: 194 Bytes

Versions: 12

Compression:

Stored size: 194 Bytes

Contents

# frozen_string_literal: true

require 'active_support'

class DHS::Data

  module Equality
    extend ActiveSupport::Concern

    def ==(other)
      _raw == other.try(:_raw)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dhs-1.6.0 lib/dhs/concerns/data/equality.rb
dhs-1.5.0 lib/dhs/concerns/data/equality.rb
dhs-1.4.2 lib/dhs/concerns/data/equality.rb
dhs-1.4.1 lib/dhs/concerns/data/equality.rb
dhs-1.4.0 lib/dhs/concerns/data/equality.rb
dhs-1.3.0 lib/dhs/concerns/data/equality.rb
dhs-1.2.0 lib/dhs/concerns/data/equality.rb
dhs-1.1.0 lib/dhs/concerns/data/equality.rb
dhs-1.0.3 lib/dhs/concerns/data/equality.rb
dhs-1.0.2 lib/dhs/concerns/data/equality.rb
dhs-1.0.1 lib/dhs/concerns/data/equality.rb
dhs-1.0.0 lib/dhs/concerns/data/equality.rb