class Geocoder::Cache
def initialize(store, config)
def initialize(store, config) @class = (Object.const_get("Geocoder::CacheStore::#{store.class}") rescue Geocoder::CacheStore::Generic) @store_service = @class.new(store, config) end
def initialize(store, config) @class = (Object.const_get("Geocoder::CacheStore::#{store.class}") rescue Geocoder::CacheStore::Generic) @store_service = @class.new(store, config) end