Sha256: 3ae05e3d377aeb57f5d50f6d40b16477d109e11529702c93ad176bab767555e8

Contents?: true

Size: 627 Bytes

Versions: 8

Compression:

Stored size: 627 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Support
    class Cache
      class Constants
        module Backends
          ##
          # @return [Symbol]
          #
          ARRAY = :array

          ##
          # @return [Symbol]
          #
          HASH = :hash

          ##
          # @return [Symbol]
          #
          THREAD_SAFE_ARRAY = :thread_safe_array

          ##
          # @return [Array<Symbol>]
          #
          ALL = [ARRAY, HASH, THREAD_SAFE_ARRAY]

          ##
          # @return [Symbol]
          #
          DEFAULT = HASH
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/support/cache/constants.rb
convenient_service-0.19.0 lib/convenient_service/support/cache/constants.rb
convenient_service-0.18.0 lib/convenient_service/support/cache/constants.rb
convenient_service-0.17.0 lib/convenient_service/support/cache/constants.rb
convenient_service-0.16.0 lib/convenient_service/support/cache/constants.rb
convenient_service-0.15.0 lib/convenient_service/support/cache/constants.rb
convenient_service-0.14.0 lib/convenient_service/support/cache/constants.rb
convenient_service-0.13.0 lib/convenient_service/support/cache/constants.rb