Method: Weak::Set#compare_by_identity

Defined in:
lib/weak/set.rb

#compare_by_identityself

This method does nothing as we always compare elements by their object identity.

Returns:

  • (self)


412
413
414
# File 'lib/weak/set.rb', line 412

def compare_by_identity
  self
end