Method: Cache#path_for_key

Defined in:
lib/itinerary/cache.rb

#path_for_key(key) ⇒ Object



8
9
10
# File 'lib/itinerary/cache.rb', line 8

def path_for_key(key)
  @dir + URI.encode(key).gsub(%r{/}, '_')
end