# File lib/hashery/openobject.rb, line 129 def ==( other ) case other when OpenObject @hash == other.as_hash when Hash @hash == other else if other.respond_to?(:to_hash) @hash == other.to_hash else false end end end