Class: Sprockets::Cache::GetWrapper

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

Instance Method Summary collapse

Instance Method Details

#get(key) ⇒ Object



205
206
207
# File 'lib/sprockets/cache.rb', line 205

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

#set(key, value) ⇒ Object



209
210
211
# File 'lib/sprockets/cache.rb', line 209

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