class Berkshelf::Resolver
def demand_array
-
(Array-)
Other tags:
- Note: - this is the format that Solve uses to determine a solution for the graph
def demand_array demands.collect do |demand| constraint = demand.locked_version || demand.version_constraint [demand.name, constraint] end end