class Bundler::Molinillo::DependencyState - bundler-1.9.9 Documentation

# class Bundler::Molinillo::DependencyState

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

### Public Instance Methods

pop_possibility_state() click to toggle source

Removes a possibility from `self` @return [PossibilityState] a state with a single possibility,

    the possibility that was removed from %x`self`

    # File lib/bundler/vendor/molinillo/lib/molinillo/state.rb, line 26
    def pop_possibility_state
      PossibilityState.new(
        name,
        requirements.dup,
        activated.dup,
        requirement,
        [possibilities.pop],
        depth + 1,
        conflicts.dup
      )
    end