Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/loquor/object_hash.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



62
63
64
65
66
67
68
# File 'lib/loquor/object_hash.rb', line 62

def ==(other)
  if other.is_a?(Loquor::ObjectHash)
    other == self
  else
    hash_equals(other)
  end
end

#hash_equalsObject



61
# File 'lib/loquor/object_hash.rb', line 61

alias_method :hash_equals, :==