Class: BreezyPDF::Cache::Null
- Inherits:
-
Object
- Object
- BreezyPDF::Cache::Null
- Defined in:
- lib/breezy_pdf/cache/null.rb
Overview
Null cache store for assets. Doesn’t actually store anything.
Instance Method Summary collapse
Instance Method Details
#fetch(_key, _opts = {}) ⇒ Object
12 13 14 |
# File 'lib/breezy_pdf/cache/null.rb', line 12 def fetch(_key, _opts = {}) yield if block_given? end |
#read(key) ⇒ Object
10 |
# File 'lib/breezy_pdf/cache/null.rb', line 10 def read(key); end |
#write(_key, _value, _opts = {}) ⇒ Object
6 7 8 |
# File 'lib/breezy_pdf/cache/null.rb', line 6 def write(_key, _value, _opts = {}) true end |