class Geocoder::CacheStore::Generic
def keys
def keys store.keys end
def read(url)
def read(url) case when store.respond_to?(:[]) store[key_for(url)] when store.respond_to?(:get) store.get key_for(url) when store.respond_to?(:read) store.read key_for(url) end end
def remove(key)
def remove(key) store.delete(key) end
def write(url, value)
def write(url, value) case when store.respond_to?(:[]=) store[key_for(url)] = value when store.respond_to?(:set) store.set key_for(url), value when store.respond_to?(:write) store.write key_for(url), value end end