Method: SmartCore::Container::Entities::DependencyBuilder.build
- Defined in:
- lib/smart_core/container/entities/dependency_builder.rb
.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 |