Class: AnyCache Private
- Inherits:
-
Object
- Object
- AnyCache
- Extended by:
- Patches::InterfaceAccessMixin, Plugins::InterfaceAccessMixin
- Includes:
- Delegation, Qonfig::Configurable
- Defined in:
- lib/any_cache.rb,
lib/any_cache/error.rb,
lib/any_cache/version.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Modules: Adapters, Delegation, Drivers, Dumper, Logging, Patches, Plugins
Constant Summary collapse
- Error =
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.
Class.new(StandardError)
- UnsupportedDriverError =
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.
Class.new(Error)
- NonexistentPatchError =
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.
Class.new(Error)
- AlreadyRegisteredPluginError =
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.
Class.new(StandardError)
- UnregisteredPluginError =
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.
Class.new(StandardError)
- VERSION =
'0.7.0'
Instance Attribute Summary collapse
- #adapter ⇒ AnyCache::Adapters::Basic readonly private
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(adapter) ⇒ void constructor private
Methods included from Patches::InterfaceAccessMixin
Methods included from Plugins::InterfaceAccessMixin
Methods included from Delegation
Constructor Details
#initialize(adapter) ⇒ void
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.
117 118 119 |
# File 'lib/any_cache.rb', line 117 def initialize(adapter) @adapter = adapter end |
Instance Attribute Details
#adapter ⇒ AnyCache::Adapters::Basic (readonly)
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.
110 111 112 |
# File 'lib/any_cache.rb', line 110 def adapter @adapter end |