Class: Atom::NilCache

Inherits:
Object show all
Defined in:
lib/atom/cache.rb

Overview

this cache never actually saves anything

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



130
131
132
# File 'lib/atom/cache.rb', line 130

def [] key
  nil
end

#[]=(key, value) ⇒ Object



134
135
136
# File 'lib/atom/cache.rb', line 134

def []= key, value
  nil
end

#delete(key) ⇒ Object



138
139
140
# File 'lib/atom/cache.rb', line 138

def delete key
  nil
end