class Bundler::Molinillo::Resolver::Resolution
def attempt_to_swap_possibility
-
(Boolean)
- Whether the possibility was swapped into {#activated}
def attempt_to_swap_possibility swapped = activated.dup swapped.vertex_named(name).payload = possibility return unless swapped.vertex_named(name).requirements. all? { |r| requirement_satisfied_by?(r, swapped, possibility) } attempt_to_activate_new_spec end