compare_by_identity?()
Returns true if the set will compare its elements by their identity. Also see Set#compare_by_identity.
# File lib/set.rb, line 118 def compare_by_identity? @hash.respond_to?(:compare_by_identity?) && @hash.compare_by_identity? end