Class: APDM::NullCache

Inherits:
Object
  • Object
show all
Defined in:
lib/apdm/null_cache.rb

Instance Method Summary collapse

Instance Method Details

#delete(*args) ⇒ Object



11
12
13
# File 'lib/apdm/null_cache.rb', line 11

def delete(*args)
  # It's already gone.
end

#get(*args) ⇒ Object



7
8
9
# File 'lib/apdm/null_cache.rb', line 7

def get(*args)
  # Nothing is cached; nothing to get.
end

#set(*args) ⇒ Object



3
4
5
# File 'lib/apdm/null_cache.rb', line 3

def set(*args)
  # Elegantly does exactly nothing.
end