class WolfCore::ValueObject
def ==(other)
def ==(other) return false unless other.is_a?(self.class) self.class.fields.each do |key| return false unless attributes[key] == other.attributes[key] end true end
def ==(other) return false unless other.is_a?(self.class) self.class.fields.each do |key| return false unless attributes[key] == other.attributes[key] end true end