Parent

Methods

Class/Module Index [+]

Quicksearch

Twitter::IdentityMap

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

Public Instance Methods

fetch(id) click to toggle source

@param id @return [Object]

# File lib/twitter/identity_map.rb, line 9
def fetch(id)
  self[id]
end
store(id, object) click to toggle source

@param id @param object @return [Object]

# File lib/twitter/identity_map.rb, line 16
def store(id, object)
  self[id] = object
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.