Module: TypedCache::Backends

Extended by:
Forwardable
Defined in:
lib/typed_cache/backends.rb,
lib/typed_cache/backends/memory.rb,
lib/typed_cache/backends/active_support.rb

Defined Under Namespace

Classes: ActiveSupport, Memory

Constant Summary collapse

REGISTRY =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Backend registry using composition

Registry.new('backend', {
  memory: Memory,
}).freeze

Class Method Summary collapse

Class Method Details

.registryObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

: -> Registry



22
# File 'lib/typed_cache/backends.rb', line 22

def registry = REGISTRY