Module: Flows::Util::InheritableSingletonVars::DupStrategy::Injector 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(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.
50 51 52 53 54 55 |
# File 'lib/flows/util/inheritable_singleton_vars/dup_strategy.rb', line 50 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.
43 44 45 46 47 48 |
# File 'lib/flows/util/inheritable_singleton_vars/dup_strategy.rb', line 43 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.
57 58 59 60 61 62 |
# File 'lib/flows/util/inheritable_singleton_vars/dup_strategy.rb', line 57 def inherited(mod) Migrator.call(self, mod) mod.singleton_class.prepend Injector super end |