lib/solve.rb in solve-1.1.0 vs lib/solve.rb in solve-1.2.0

- old
+ new

@@ -2,11 +2,11 @@ module Solve require_relative 'solve/artifact' require_relative 'solve/demand' require_relative 'solve/dependency' - require_relative 'solve/gem_version' + require_relative 'solve/version' require_relative 'solve/errors' require_relative 'solve/graph' require_relative 'solve/solver' class << self @@ -20,18 +20,16 @@ # If a ui object is passed in, the resolution will be traced # # @param [Solve::Graph] graph # @param [Array<Solve::Demand>, Array<String, String>] demands # - # @option options [#say] :ui (nil) - # a ui object for output # @option options [Boolean] :sorted (false) # should the output be a sorted list rather than a Hash # # @raise [NoSolutionError] # # @return [Hash] def it!(graph, demands, options = {}) - Solver.new(graph, demands, options[:ui]).resolve(options) + Solver.new(graph, demands).resolve(options) end end end