# File lib/amazon/search/cache.rb, line 61 def get_cached(url) digest = Digest::MD5.hexdigest(url) cache_file = File.join(@path, digest) return nil unless File.exist? cache_file Amazon::dprintf("Fetching %s from cache...\n", digest) File.open(File.join(cache_file)).readlines.to_s end