Class: Sprockets::Cache::HashWrapper

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

Instance Method Summary collapse

Instance Method Details

#get(key) ⇒ Object



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

def get(key)
  cache[key]
end

#set(key, value) ⇒ Object



219
220
221
# File 'lib/sprockets/cache.rb', line 219

def set(key, value)
  cache[key] = value
end