Class: Sprockets::Cache::ReadWriteWrapper

Inherits:
Wrapper
  • Object
show all
Defined in:
lib/sprockets/cache.rb

Instance Method Summary collapse

Instance Method Details

#get(key) ⇒ Object



211
212
213
# File 'lib/sprockets/cache.rb', line 211

def get(key)
  cache.read(key)
end

#set(key, value) ⇒ Object



215
216
217
# File 'lib/sprockets/cache.rb', line 215

def set(key, value)
  cache.write(key, value)
end