Class DataMapper::IdentityMap
In: lib/dm-core/identity_map.rb
Parent: Object

Tracks objects to help ensure that each object gets loaded only once. See: www.martinfowler.com/eaaCatalog/identityMap.html

Methods

[]   []=   delete   get   new   set  

Public Class methods

Public Instance methods

[](key)

Alias for get

[]=(key, resource)

Alias for set

Remove a resource from the IdentityMap

Get a resource from the IdentityMap

Add a resource to the IdentityMap

[Validate]