Sha256: 7826bd7d273c93291edd5b6640dbce0ba1ab30bfab5bc1ef7e14e6a43bdc348e

Contents?: true

Size: 231 Bytes

Versions: 10

Compression:

Stored size: 231 Bytes

Contents

# frozen_string_literal: true
module Prefab
  class NoopCache
    def fetch(name, opts, &method)
      yield
    end

    def write(name, value, opts=nil)
    end

    def read(name)
    end

    def delete(name)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
prefab-cloud-ruby-0.20.0 lib/prefab/noop_cache.rb
prefab-cloud-ruby-0.19.0 lib/prefab/noop_cache.rb
prefab-cloud-ruby-0.18.0 lib/prefab/noop_cache.rb
prefab-cloud-ruby-0.17.0 lib/prefab/noop_cache.rb
prefab-cloud-ruby-0.16.0 lib/prefab/noop_cache.rb
prefab-cloud-ruby-0.15.0 lib/prefab/noop_cache.rb
prefab-cloud-ruby-0.14.0 lib/prefab/noop_cache.rb
prefab-cloud-ruby-0.13.3 lib/prefab/noop_cache.rb
prefab-cloud-ruby-0.13.2 lib/prefab/noop_cache.rb
prefab-cloud-ruby-0.13.0 lib/prefab/noop_cache.rb