class Rx::Cache::NoOpCache

Public Instance Methods

cache(k, expires_in = 60) { || ... } click to toggle source
# File lib/rx/cache/no_op_cache.rb, line 4
def cache(k, expires_in = 60)
  yield
end
get(k) click to toggle source
# File lib/rx/cache/no_op_cache.rb, line 8
def get(k)
  nil
end
put(k, v, expires_in = 60) click to toggle source
# File lib/rx/cache/no_op_cache.rb, line 12
def put(k, v, expires_in = 60)
  nil
end