class Molinillo::Resolver::Resolution

def possibilities_for_requirement(requirement, activated = self.activated)

Returns:
  • (Array) - possibilities

Parameters:
  • activated (Object) --
  • requirement (Object) -- the proposed requirement
def possibilities_for_requirement(requirement, activated = self.activated)
  return [] unless requirement
  if locked_requirement_named(name_for(requirement))
    return locked_requirement_possibility_set(requirement, activated)
  end
  group_possibilities(search_for(requirement))
end