class Innate::Cache::Memory
Memory cache is simply a Hash with the Cache::API, it's the reference implementation for every other cache and the default cache.
Public Instance Methods
cache_delete(*args)
click to toggle source
Calls superclass method
Innate::Cache::API#cache_delete
# File lib/innate/cache/memory.rb, line 16 def cache_delete(*args) super{|key| delete(key) } end
cache_fetch(*args)
click to toggle source
Calls superclass method
Innate::Cache::API#cache_fetch
# File lib/innate/cache/memory.rb, line 12 def cache_fetch(*args) super{|key| self[key] } end
cache_store(*args)
click to toggle source
Calls superclass method
Innate::Cache::API#cache_store
# File lib/innate/cache/memory.rb, line 8 def cache_store(*args) super{|key, value| self[key] = value } end