Module: SmartCore::Container::DependencyResolver Private

Defined in:
lib/smart_core/container/dependency_resolver.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.

Since:

  • 0.5.0

Class Method Summary collapse

Class Method Details

.resolve(registry, dependency_path) ⇒ Any

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.

Parameters:

Returns:

  • (Any)

Since:

  • 0.5.0



12
13
14
# File 'lib/smart_core/container/dependency_resolver.rb', line 12

def resolve(registry, dependency_path)
  registry.resolve(dependency_path).call
end