Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/diskcached.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def set key, value
# or raises Diskcache::NotFound
# - if 'key' is an Array returns only keys
# which exist and aren't expired, it raises
# Diskcache::NotFound if none are available
# Diskcached::NotFound if none are available
def get key
if key.is_a? Array
ret = {}
Expand Down Expand Up @@ -177,7 +177,7 @@ def ensure_store_directory
FileUtils.mkpath( store ) unless File.directory?( store )
end

class NotFound < Exception
class NotFound < StandardError
end

end