Module: SmartCore::Injection::Injector::Strategies::MethodInjection Private
- Defined in:
- lib/smart_core/injection/injector/strategies/method_injection.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.
Class Method Summary collapse
- .inject_class_method(injection_settings) ⇒ void private
- .inject_instance_method(injection_settings) ⇒ void private
Class Method Details
.inject_class_method(injection_settings) ⇒ void
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.
This method returns an undefined value.
21 22 23 |
# File 'lib/smart_core/injection/injector/strategies/method_injection.rb', line 21 def inject_class_method(injection_settings) inject_dependency(injection_settings, injection_settings.class_level_injectable) end |
.inject_instance_method(injection_settings) ⇒ void
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.
This method returns an undefined value.
12 13 14 |
# File 'lib/smart_core/injection/injector/strategies/method_injection.rb', line 12 def inject_instance_method(injection_settings) inject_dependency(injection_settings, injection_settings.instance_level_injectable) end |