@api private
# File lib/rack/cache/moneta.rb, line 15 def resolve(uri) cache = Rack::Cache::Moneta[uri.to_s.sub(%{^moneta://}, '')] ||= begin options = parse_query(uri.query) options.keys.each do |key| options[key.to_sym] = case value = options.delete(key) when 'true'; true when 'false'; false else value end end ::Moneta.new(uri.host.to_sym, options) end new(cache) end
Generated with the Darkfish Rdoc Generator 2.