Class: ADAL::NoopCache

Inherits:
Object
  • Object
show all
Defined in:
lib/adal/noop_cache.rb

Overview

A cache implementation that holds no values and ignores all method calls.

Instance Method Summary collapse

Instance Method Details

#findObject



34
35
36
# File 'lib/adal/noop_cache.rb', line 34

def find(*)
  []
end

#noopObject 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