Class | DataMapper::OrderedSet::Cache |
In: |
lib/dm-core/support/ordered_set.rb
|
Parent: | Object |
The default cache used by {OrderedSet}
Uses a {Hash} as internal storage and enforces set semantics by calling eql? and hash on the set‘s entries.
@api private
Given an entry, return the key to be used in the cache
@param [Object] entry
the entry to get the key for
@return [Object]
the passed in entry
@api private