Sha256: c2bbf5c8ee6c94e7ab3e88365450af542070ffea9851b30298908325f5080250

Contents?: true

Size: 391 Bytes

Versions: 5

Compression:

Stored size: 391 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

5 entries across 5 versions & 1 rubygems

Version Path
infopark_component_cache-3.2.0 lib/infopark_component_cache/volatile_cache.rb
infopark_component_cache-3.1.1 lib/infopark_component_cache/volatile_cache.rb
infopark_component_cache-3.1.0 lib/infopark_component_cache/volatile_cache.rb
infopark_component_cache-3.0.0 lib/infopark_component_cache/volatile_cache.rb
infopark_component_cache-2.0.0 lib/infopark_component_cache/volatile_cache.rb