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
-
.registry ⇒ Object
private
: -> Registry.
Class Method Details
.registry ⇒ Object
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 |