Sha256: 3a67132ddf1b532204c74608c228ae0c47b2c4e74659293f9d1c3fe269f94030
Contents?: true
Size: 793 Bytes
Versions: 2
Compression:
Stored size: 793 Bytes
Contents
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the MIT license. require 'innate/cache' module Ramaze Cache = Innate::Cache #:nodoc: class Cache autoload :LRU, 'ramaze/cache/lru' autoload :LocalMemCache, 'ramaze/cache/localmemcache' autoload :MemCache, 'ramaze/cache/memcache' autoload :Sequel, 'ramaze/cache/sequel' autoload :Redis, 'ramaze/cache/redis' ## # Clears the cache after a file has been reloaded. # # @author Michael Fellinger # @since 17-07-2009 # def self.clear_after_reload action.clear if respond_to?(:action) action_value.clear if respond_to?(:action_value) end end # Cache end # Ramaze
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ramaze-2012.04.14 | lib/ramaze/cache.rb |
ramaze-2012.03.07 | lib/ramaze/cache.rb |