Class: Gem::Resolver::Molinillo::DependencyState
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
          ResolutionState,
          Struct
         | |
| Instance Chain: 
          self,
          ResolutionState,
          Struct
         | |
| Inherits: | Gem::Resolver::Molinillo::ResolutionState 
 | 
| Defined in: | lib/rubygems/resolver/molinillo/lib/molinillo/state.rb | 
Overview
A state that encapsulates a set of #requirements with an Array of possibilities
Class Method Summary
ResolutionState - Inherited
| .empty | Returns an empty resolution state. | 
Instance Attribute Summary
ResolutionState - Inherited
| #activated | A state that a  | 
| #conflicts | A state that a  | 
| #depth | A state that a  | 
| #name | A state that a  | 
| #possibilities | A state that a  | 
| #requirement | A state that a  | 
| #requirements | A state that a  | 
Instance Method Summary
- 
    
      #pop_possibility_state  ⇒ PossibilityState 
    
    Removes a possibility from self
Instance Method Details
#pop_possibility_state ⇒ PossibilityState
Removes a possibility from self
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/state.rb', line 35
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