Class: Bundler::Molinillo::Resolver::Resolution::PossibilitySet
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
          Struct
         | |
| Instance Chain: 
          self,
          Struct
         | |
| Inherits: | Struct 
 | 
| Defined in: | lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb, lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb | 
Overview
A collection of possibility states that share the same dependencies
Instance Attribute Summary
- 
    
      #dependencies  
    
    rw
    A collection of possibility states that share the same dependencies. 
- 
    
      #possibilities  
    
    rw
    A collection of possibility states that share the same dependencies. 
Instance Method Summary
- #latest_version ⇒ Object
- 
    
      #to_s  
    
    String representation of the possibility set, for debugging. 
Instance Attribute Details
#dependencies (rw)
A collection of possibility states that share the same dependencies
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 41
PossibilitySet = Struct.new(:dependencies, :possibilities)
#possibilities (rw)
A collection of possibility states that share the same dependencies
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 41
PossibilitySet = Struct.new(:dependencies, :possibilities)
Instance Method Details
    #latest_version  ⇒ Object 
  
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 50
def latest_version possibilities.last end
#to_s
String representation of the possibility set, for debugging
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 45
def to_s "[#{possibilities.join(', ')}]" end