lib/arid_cache/cache_proxy.rb
def cached
        unless @cached_initialized
          @cached = Rails.cache.read(@cache_key, @options.opts_for_cache)
          @cached_initialized = true # so we don't read multiple times when the value is nil
        end
        @cached
      end
# Return the contents of the cache.  Read from the cache if we have not yet done so.
Return the contents of the cache.  Read from the cache if we have not yet done so.
Return the contents of the cache . Read from the cache if we have not yet done so .
def cached
        unless @cached_initialized
          @cached = Rails.cache.read(@cache_key, @options.opts_for_cache)
          @cached_initialized = true 
        end
        @cached
      end
def cached unless @cached_initialized @cached = Rails . cache . read ( @cache_key , @options . opts_for_cache ) @cached_initialized = true end @cached end
Return the contents of the cache.
Return the contents of the cache .
# so we don't read multiple times when the value is nil