Module: SmartCore::Injection::Injector::Modulizer Private
- Defined in:
- lib/smart_core/injection/injector/modulizer.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_to(base_klass) ⇒ void private
- .with_containers(containers) ⇒ Module private
Class Method Details
.inject_to(base_klass) ⇒ 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.
22 23 24 |
# File 'lib/smart_core/injection/injector/modulizer.rb', line 22 def inject_to(base_klass) base_klass.include(::SmartCore::Injection::DSL) end |
.with_containers(containers) ⇒ Module
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.
12 13 14 15 |
# File 'lib/smart_core/injection/injector/modulizer.rb', line 12 def with_containers(containers) prevent_inconsistency!(containers) build_container_injectable_module(containers) end |