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



201
202
203
# File 'lib/sprockets/cache.rb', line 201

def get(key)
  cache[key]
end

#set(key, value) ⇒ Object



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

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