Class: Lawnchair::Cache

Inherits:
Object
  • Object
show all
Defined in:
lib/lawnchair.rb

Class Method Summary collapse

Class Method Details

.me(key, options = {}, &block) ⇒ Object

DEPRECATED: Please use Lawnchair.cache instead.



45
46
47
48
# File 'lib/lawnchair.rb', line 45

def self.me(key, options={}, &block)
  warn "[DEPRECATION] 'Lawnchair::Cache.me' is deprecated.  Please use 'Lawnchair.cache' instead."
  Lawnchair.cache(key, options, &block)
end