module Wardrobe::Plugins::Equality::InstanceMethods
Public Instance Methods
==(other)
click to toggle source
# File lib/wardrobe/plugins/equality.rb, line 9 def ==(other) _attribute_store.all? do |_name, atr| return true unless atr.options[:include_in_equality] send(atr.name) == other.send(atr.name) end end