Class: Cachew::Adapters::NullAdapter
- Inherits:
-
BaseAdapter
- Object
- Struct
- BaseAdapter
- Cachew::Adapters::NullAdapter
- Defined in:
- lib/cachew/adapters/null_adapter.rb
Instance Attribute Summary
Attributes inherited from BaseAdapter
Instance Method Summary collapse
Instance Method Details
#get(_) ⇒ Object
8 9 10 |
# File 'lib/cachew/adapters/null_adapter.rb', line 8 def get(_) nil end |
#has?(_) ⇒ Boolean
12 13 14 |
# File 'lib/cachew/adapters/null_adapter.rb', line 12 def has?(_) false end |
#set(_, value) ⇒ Object
4 5 6 |
# File 'lib/cachew/adapters/null_adapter.rb', line 4 def set(_, value) value end |