Sha256: e24f1840962bd752056211848d5d709e724c2793d1e624b87e98d8f3869b4216

Contents?: true

Size: 650 Bytes

Versions: 2

Compression:

Stored size: 650 Bytes

Contents

#          Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

require 'innate/cache'

module Ramaze
  Cache = Innate::Cache

  # TODO: Describe what this class does and how it can be used.
  class Cache
    autoload :LRU,           'ramaze/cache/lru'
    autoload :LocalMemCache, 'ramaze/cache/localmemcache'
    autoload :MemCache,      'ramaze/cache/memcache'
    autoload :Sequel,        'ramaze/cache/sequel'

    def self.clear_after_reload
      action.clear if respond_to?(:action)
      action_value.clear if respond_to?(:action_value)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ramaze-2011.01.30 lib/ramaze/cache.rb
ramaze-2011.01 lib/ramaze/cache.rb