class Lux::Cache::NullCache
Public Instance Methods
delete(key)
click to toggle source
# File lib/lux/cache/lib/null.rb, line 14 def delete key nil end
fetch(key, ttl=nil) { || ... }
click to toggle source
# File lib/lux/cache/lib/null.rb, line 10 def fetch key, ttl=nil yield end
get(key)
click to toggle source
# File lib/lux/cache/lib/null.rb, line 6 def get key nil end
get_multi(*args)
click to toggle source
# File lib/lux/cache/lib/null.rb, line 18 def get_multi *args {} end
set(key, data, ttl=nil)
click to toggle source
# File lib/lux/cache/lib/null.rb, line 2 def set key, data, ttl=nil data end