Module: Flows::Util::InheritableSingletonVars::IsolationStrategy::Injector 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(mod) ⇒ Object private
- #included(mod) ⇒ Object private
- #inherited(mod) ⇒ Object private
Instance Method Details
#extended(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 |
# File 'lib/flows/util/inheritable_singleton_vars/isolation_strategy.rb', line 41 def extended(mod) Migrator.call(self, mod) mod.singleton_class.prepend Injector super end |
#included(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 |
# File 'lib/flows/util/inheritable_singleton_vars/isolation_strategy.rb', line 34 def included(mod) Migrator.call(self, mod) mod.singleton_class.prepend Injector super end |
#inherited(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.
48 49 50 51 52 53 |
# File 'lib/flows/util/inheritable_singleton_vars/isolation_strategy.rb', line 48 def inherited(mod) Migrator.call(self, mod) mod.singleton_class.prepend Injector super end |