Sha256: 0765d836dfefc3d64e5d80b3d56d659bdbeba4f389489fd56100123fc9a766ab

Contents?: true

Size: 253 Bytes

Versions: 1

Compression:

Stored size: 253 Bytes

Contents

# frozen_string_literal: true

module Pundit
  module CacheStore
    # @api private
    class NullStore
      @instance = new

      class << self
        attr_reader :instance
      end

      def fetch(*, **)
        yield
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pundit-2.4.0 lib/pundit/cache_store/null_store.rb