Class: Bozo::BuildDependencyResolver
- Inherits:
-
Object
- Object
- Bozo::BuildDependencyResolver
- Includes:
- ClassNameHelpers, Logging
- Defined in:
- lib/bozo/build_dependency_resolver.rb
Overview
Handles resolving build dependencies
When resolving the tools from the ‘build_configuration.build_tools` - first tool runners in the `Bozo::Tools` module are used, if a class does not exist then the `build_tools_location` is searched.
Instance Method Summary collapse
-
#initialize(build_configuration) ⇒ BuildDependencyResolver
constructor
A new instance of BuildDependencyResolver.
- #resolve ⇒ Object
Methods included from ClassNameHelpers
Methods included from Logging
#log_debug, #log_fatal, #log_info, #log_warn
Constructor Details
#initialize(build_configuration) ⇒ BuildDependencyResolver
Returns a new instance of BuildDependencyResolver.
12 13 14 |
# File 'lib/bozo/build_dependency_resolver.rb', line 12 def initialize(build_configuration) @build_configuration = build_configuration end |
Instance Method Details
#resolve ⇒ Object
16 17 18 19 |
# File 'lib/bozo/build_dependency_resolver.rb', line 16 def resolve retrieve_build_dependencies retrieve_tools end |