Class: Bundler::Molinillo::DependencyState
- Inherits:
-
ResolutionState
- Object
- Struct
- ResolutionState
- Bundler::Molinillo::DependencyState
- Defined in:
- lib/bundler/vendor/molinillo/lib/molinillo/state.rb
Overview
A state that encapsulates a set of ResolutionState#requirements with an Array of possibilities
Instance Attribute Summary
Attributes inherited from ResolutionState
#activated, #conflicts, #depth, #name, #possibilities, #requirement, #requirements
Instance Method Summary collapse
-
#pop_possibility_state ⇒ PossibilityState
Removes a possibility from ‘self`.
Instance Method Details
#pop_possibility_state ⇒ PossibilityState
Removes a possibility from ‘self`
26 27 28 29 30 31 32 33 34 35 36 |
# 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 |