Module: Flows::Util::InheritableSingletonVars::DupStrategy::InheritanceCallback Private
- Defined in:
- lib/flows/util/inheritable_singleton_vars/dup_strategy.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
- #extended(child_mod) ⇒ Object private
- #included(child_mod) ⇒ Object private
- #inherited(child_class) ⇒ Object private
Instance Method Details
#extended(child_mod) ⇒ 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.
41 42 43 44 45 46 47 |
# File 'lib/flows/util/inheritable_singleton_vars/dup_strategy.rb', line 41 def extended(child_mod) DupStrategy.migrate(self, child_mod) child_mod.singleton_class.prepend(InheritanceCallback) super end |
#included(child_mod) ⇒ 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.
33 34 35 36 37 38 39 |
# File 'lib/flows/util/inheritable_singleton_vars/dup_strategy.rb', line 33 def included(child_mod) DupStrategy.migrate(self, child_mod) child_mod.singleton_class.prepend(InheritanceCallback) super end |
#inherited(child_class) ⇒ 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.
27 28 29 30 31 |
# File 'lib/flows/util/inheritable_singleton_vars/dup_strategy.rb', line 27 def inherited(child_class) DupStrategy.migrate(self, child_class) super end |