| Class | R10K::InstanceCache |
| In: |
lib/r10k/instance_cache.rb
|
| Parent: | Object |
This class implements a generic object memoization container. It caches new objects and returns cached objects based on the instantiation arguments.
Create a new object, or return a memoized object.
@param args [*Object] The arguments to pass to the initialize method
@return [Object] A memoized instance of the registered class