class None
Public Class Methods
new(config={})
click to toggle source
Construct a new None
cache object.
# File lib/handset_detection/cache/none.rb, line 30 def initialize(config={}) end
Public Instance Methods
del(key)
click to toggle source
Delete key
# File lib/handset_detection/cache/none.rb, line 47 def del(key) false end
flush()
click to toggle source
Flush cache
# File lib/handset_detection/cache/none.rb, line 52 def flush false end
get(key)
click to toggle source
Get key
# File lib/handset_detection/cache/none.rb, line 35 def get(key) false end
get_file_path(key)
click to toggle source
Get fully qualified path to file
# File lib/handset_detection/cache/none.rb, line 57 def get_file_path(key) false end
set(key, data, ttl)
click to toggle source
Set key
# File lib/handset_detection/cache/none.rb, line 41 def set(key, data, ttl) false end