Sha256: 2ea94dc6e8c7df9516e2f2ada594679962a27103cc2bbe58bd3e66d58401cb4f

Contents?: true

Size: 234 Bytes

Versions: 1

Compression:

Stored size: 234 Bytes

Contents

require 'logger'

module Rails

  class Cache < ActiveSupport::Cache::MemcachedStore
  end

  def self.cache
    @@cache ||= Cache.new("localhost:#{$memcached_port}")
  end

  def self.logger
    @logger ||= Logger.new(nil)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
identity_cache-0.0.7 test/helpers/cache.rb