Class: Cachew::Null
Overview
Null version of Cachew. Never caches anything, and returns value of given block directly.
Constant Summary
Constants inherited from Adapter
Class Method Summary collapse
-
.new ⇒ Null
Returns singleton instance of Null adapter.
Methods inherited from Adapter
Class Method Details
.new ⇒ Null
Returns singleton instance of Null adapter.
10 11 12 |
# File 'lib/cachew/null.rb', line 10 def new @instance ||= super end |