Method: FileName::Manage#load_cache

Defined in:
lib/filename.rb

#load_cache(key) ⇒ Object



400
401
402
403
404
405
406
# File 'lib/filename.rb', line 400

def load_cache(key)
  path = cache_directory(key)
  if File.exist?(path)
    return FileName.load_from(path)
  end
  return nil
end