Module: DHS::Data::Equality

Extended by:
ActiveSupport::Concern
Included in:
DHS::Data
Defined in:
lib/dhs/concerns/data/equality.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



10
11
12
# File 'lib/dhs/concerns/data/equality.rb', line 10

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