class MyStuff::Cache::NullCache
No-op implementation that implements the API, but does no caching.
Public Instance Methods
get(keys, options = {})
click to toggle source
# File lib/my_stuff/cache/null_cache.rb, line 7 def get keys, options = {} [nil] * keys.size end
set(keys, options = {})
click to toggle source
# File lib/my_stuff/cache/null_cache.rb, line 11 def set keys, options = {} # nop end