Sha256: 72eb806b1c471c0430364dd3b2c99e41cc0b7db53494358306c0dca2fa691a68

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

require "active_support"
require "cacheflow/version"

module Cacheflow
  def self.activate
    require "cacheflow/memcached" if defined?(Dalli)
    require "cacheflow/redis" if defined?(Redis)
  end
end

if defined?(Rails)
  require "cacheflow/railtie"
else
  Cacheflow.activate
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cacheflow-0.1.0 lib/cacheflow.rb