Class: ADAL::NoopCache
- Inherits:
-
Object
- Object
- ADAL::NoopCache
- Defined in:
- lib/adal/noop_cache.rb
Overview
A cache implementation that holds no values and ignores all method calls.
Instance Method Summary collapse
- #find ⇒ Object
-
#noop ⇒ Object
(also: #add, #add_many, #remove, #remove_many)
Swallows any number of parameters and returns nil.
Instance Method Details
#find ⇒ Object
34 35 36 |
# File 'lib/adal/noop_cache.rb', line 34 def find(*) [] end |
#noop ⇒ Object Also known as: add, add_many, remove, remove_many
Swallows any number of parameters and returns nil.
27 |
# File 'lib/adal/noop_cache.rb', line 27 def noop(*); end |