Methods

Included Modules

Class Index [+]

Quicksearch

DataMapper::OrderedSet::Cache

The default cache used by {OrderedSet}

Uses a {Hash} as internal storage and enforces set semantics by calling # and # on the set’s entries.

@api private

Public Instance Methods

key_for(entry) click to toggle source

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

     # File lib/dm-core/support/ordered_set.rb, line 186
186:       def key_for(entry)
187:         entry
188:       end
valid?(entry) click to toggle source

Tests if the given entry qualifies to be added to the cache

@param [Object] entry

  the entry to be checked

@return [true] true

@api private

     # File lib/dm-core/support/ordered_set.rb, line 173
173:       def valid?(entry)
174:         true
175:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.