Sha256: 766aa32e3006eefec53f271026bb7688c9244164843d28c867df4680de2d242f

Contents?: true

Size: 236 Bytes

Versions: 5

Compression:

Stored size: 236 Bytes

Contents

# frozen_string_literal: true

module Dalli
  module Protocol
    # Implements the NullObject pattern to store an application-defined value for 'Key not found' responses.
    class NilObject; end
    NOT_FOUND = NilObject.new
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dalli-3.0.4 lib/dalli/protocol.rb
dalli-3.0.3 lib/dalli/protocol.rb
dalli-3.0.2 lib/dalli/protocol.rb
dalli-3.0.1 lib/dalli/protocol.rb
dalli-3.0.0 lib/dalli/protocol.rb