Module: Lab42::DataClass::Proxy::Mixin
- Defined in:
- lib/lab42/data_class/proxy/mixin.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
7 8 9 10 |
# File 'lib/lab42/data_class/proxy/mixin.rb', line 7 def ==(other) other.is_a?(self.class) && to_h == other.to_h end |
#deconstruct_keys ⇒ Object
12 13 14 |
# File 'lib/lab42/data_class/proxy/mixin.rb', line 12 def deconstruct_keys(*) to_h end |