Class: Ironclad::Cache::Null

Inherits:
Object
  • Object
show all
Defined in:
lib/ironclad/cache/null.rb

Overview

No-op cache for platforms without a supported OS keystore. Every lookup misses, so the key is fetched from the source each call.

Instance Method Summary collapse

Instance Method Details

#read(_name) ⇒ Object



8
# File 'lib/ironclad/cache/null.rb', line 8

def read(_name) = nil

#write(_name, _key) ⇒ Object



10
# File 'lib/ironclad/cache/null.rb', line 10

def write(_name, _key) = nil