class Bundler::Molinillo::DependencyState

possibilities
A state that encapsulates a set of {#requirements} with an {Array} of

def pop_possibility_state

Returns:
  • (PossibilityState) - a state with a single possibility,
def pop_possibility_state
  PossibilityState.new(
    name,
    requirements.dup,
    activated,
    requirement,
    [possibilities.pop],
    depth + 1,
    conflicts.dup
  ).tap do |state|
    state.activated.tag(state)
  end
end