class Molinillo::Resolver
def initialize(specification_provider, resolver_ui)
-
resolver_ui
(UI
) -- -
specification_provider
(SpecificationProvider
) --
def initialize(specification_provider, resolver_ui) @specification_provider = specification_provider @resolver_ui = resolver_ui end
def resolve(requested, base = DependencyGraph.new)
-
base
(DependencyGraph, nil
) -- the base dependency graph to which -
requested
(Array
) -- an array of 'requested' dependencies that the
def resolve(requested, base = DependencyGraph.new) Resolution.new(specification_provider, resolver_ui, requested, base). resolve end