Class: Cache::Object::InstanceDecorator
- Inherits:
-
Struct
- Object
- Struct
- Cache::Object::InstanceDecorator
- Defined in:
- lib/cache/object/instance_decorator.rb
Instance Attribute Summary collapse
-
#instance ⇒ Object
Returns the value of attribute instance.
-
#mappings ⇒ Object
Returns the value of attribute mappings.
Instance Method Summary collapse
Instance Attribute Details
#instance ⇒ Object
Returns the value of attribute instance
3 4 5 |
# File 'lib/cache/object/instance_decorator.rb', line 3 def instance @instance end |
#mappings ⇒ Object
Returns the value of attribute mappings
3 4 5 |
# File 'lib/cache/object/instance_decorator.rb', line 3 def mappings @mappings end |
Instance Method Details
#keys ⇒ Object
4 5 6 |
# File 'lib/cache/object/instance_decorator.rb', line 4 def keys [canonical_cache_key] + mapping_cache_keys end |