Module: AnyCache::Dumper::InterfaceAccessMixin Private
- Included in:
- Adapters::Basic
- Defined in:
- lib/any_cache/dumper/interface_access_mixin.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #detransform_pairset(pairset) ⇒ Hash private
- #detransform_value(value) ⇒ Object private
- #transform_pairset(pairset) ⇒ Hash private
- #transform_value(value) ⇒ Object private
Instance Method Details
#detransform_pairset(pairset) ⇒ Hash
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.
38 39 40 |
# File 'lib/any_cache/dumper/interface_access_mixin.rb', line 38 def detransform_pairset(pairset) AnyCache::Dumper.detransform_hash(pairset) end |
#detransform_value(value) ⇒ 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.
20 21 22 |
# File 'lib/any_cache/dumper/interface_access_mixin.rb', line 20 def detransform_value(value) AnyCache::Dumper.load(value) end |
#transform_pairset(pairset) ⇒ Hash
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.
29 30 31 |
# File 'lib/any_cache/dumper/interface_access_mixin.rb', line 29 def transform_pairset(pairset) AnyCache::Dumper.transform_hash(pairset) end |
#transform_value(value) ⇒ 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.
11 12 13 |
# File 'lib/any_cache/dumper/interface_access_mixin.rb', line 11 def transform_value(value) AnyCache::Dumper.dump(value) end |