class BreezyPDF::Cache::Null

Null cache store for assets. Doesn't actually store anything.

Public Instance Methods

fetch(_key, _opts = {}) { || ... } click to toggle source
# File lib/breezy_pdf/cache/null.rb, line 12
def fetch(_key, _opts = {})
  yield if block_given?
end
read(key) click to toggle source
# File lib/breezy_pdf/cache/null.rb, line 10
def read(key); end
write(_key, _value, _opts = {}) click to toggle source
# File lib/breezy_pdf/cache/null.rb, line 6
def write(_key, _value, _opts = {})
  true
end