Method: Dry::Core::Cache#inherited
- Defined in:
- lib/dry/core/cache.rb
#inherited(klass) ⇒ 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.
30 31 32 33 |
# File 'lib/dry/core/cache.rb', line 30 def inherited(klass) super klass.instance_variable_set(:@__cache__, cache) end |