Module: SmartCore::Container::Entities::DependencyBuilder Private
- Defined in:
- lib/smart_core/container/entities/dependency_builder.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
- .build(dependency_name, dependency_definition, memoize) ⇒ SmartCore::Container::Entities::Dependency private
Class Method Details
.build(dependency_name, dependency_definition, memoize) ⇒ SmartCore::Container::Entities::Dependency
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.
16 17 18 19 20 21 22 |
# File 'lib/smart_core/container/entities/dependency_builder.rb', line 16 def build(dependency_name, dependency_definition, memoize) if memoize build_memoized_dependency(dependency_name, dependency_definition) else build_original_dependency(dependency_name, dependency_definition) end end |