Sha256: 6ed24c1b1cfc13a3725a0560ea64b297cdf70fd235677f7f460db79860d705d1

Contents?: true

Size: 390 Bytes

Versions: 6

Compression:

Stored size: 390 Bytes

Contents

require "infopark_component_cache/volatile_cache_storage"

module InfoparkComponentCache
  # @author Tomasz Przedmojski <tomasz.przedmojski@infopark.de>
  #
  # This module provides quick an convieniet access to
  # VolatileCacheStorage in any class that includes it.
  module VolatileCache
    def volatile_cache
      @__volatile_cache ||= VolatileCacheStorage.instance
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
infopark_component_cache-5.0.2 lib/infopark_component_cache/volatile_cache.rb
infopark_component_cache-5.0.1 lib/infopark_component_cache/volatile_cache.rb
infopark_component_cache-4.2.0 lib/infopark_component_cache/volatile_cache.rb
infopark_component_cache-4.1.0 lib/infopark_component_cache/volatile_cache.rb
infopark_component_cache-4.0.1 lib/infopark_component_cache/volatile_cache.rb
infopark_component_cache-4.0.0 lib/infopark_component_cache/volatile_cache.rb