123456789_123456789_123456789_123456789_123456789_

Class: Sprockets::Cache::HashWrapper

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

Wrapper - Inherited

Instance Method Summary

Instance Method Details

#clear(options = nil)

[ GitHub ]

  
# File 'lib/sprockets/cache.rb', line 250

def clear(options=nil)
  cache.clear
  true
end

#get(key)

[ GitHub ]

  
# File 'lib/sprockets/cache.rb', line 242

def get(key)
  cache[key]
end

#set(key, value)

[ GitHub ]

  
# File 'lib/sprockets/cache.rb', line 246

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