Method: Set#eql?

Defined in:
lib/set.rb

#eql?(o) ⇒ Boolean

:nodoc:

Returns:

  • (Boolean)


693
694
695
696
# File 'lib/set.rb', line 693

def eql?(o)   # :nodoc:
  return false unless o.is_a?(Set)
  @hash.eql?(o.instance_variable_get(:@hash))
end