Class: Sprockets::Cache::ReadWriteWrapper
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Wrapper ,
Struct
|
|
Instance Chain:
self,
Wrapper ,
Struct
|
|
Inherits: |
Sprockets::Cache::Wrapper
|
Defined in: | lib/sprockets/cache.rb |
Instance Attribute Summary
Instance Method Summary
Instance Method Details
#clear(options = nil)
[ GitHub ]# File 'lib/sprockets/cache.rb', line 265
def clear(=nil) cache.clear( ) true end
#get(key)
[ GitHub ]# File 'lib/sprockets/cache.rb', line 257
def get(key) cache.read(key) end
#set(key, value)
[ GitHub ]# File 'lib/sprockets/cache.rb', line 261
def set(key, value) cache.write(key, value) end