Module: Flows::Util::InheritableSingletonVars::IsolationStrategy::InheritanceCallback Private
- Defined in:
- lib/flows/util/inheritable_singleton_vars/isolation_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.
34 35 36 37 38 39 40 |
# File 'lib/flows/util/inheritable_singleton_vars/isolation_strategy.rb', line 34 def extended(child_mod) IsolationStrategy.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.
26 27 28 29 30 31 32 |
# File 'lib/flows/util/inheritable_singleton_vars/isolation_strategy.rb', line 26 def included(child_mod) IsolationStrategy.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.
20 21 22 23 24 |
# File 'lib/flows/util/inheritable_singleton_vars/isolation_strategy.rb', line 20 def inherited(child_class) IsolationStrategy.migrate(self, child_class) super end |