123456789_123456789_123456789_123456789_123456789_

Class: Gem::Resolver::Molinillo::Resolver::Resolution::Conflict

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb,
lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb

Overview

A conflict that the resolution process encountered

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#activated_by_name (rw)

A conflict that the resolution process encountered

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb', line 20

Conflict = Struct.new(
  :requirement,
  :requirements,
  :existing,
  :possibility_set,
  :locked_requirement,
  :requirement_trees,
  :activated_by_name,
  :underlying_error
)

#existing (rw)

A conflict that the resolution process encountered

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb', line 20

Conflict = Struct.new(
  :requirement,
  :requirements,
  :existing,
  :possibility_set,
  :locked_requirement,
  :requirement_trees,
  :activated_by_name,
  :underlying_error
)

#locked_requirement (rw)

A conflict that the resolution process encountered

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb', line 20

Conflict = Struct.new(
  :requirement,
  :requirements,
  :existing,
  :possibility_set,
  :locked_requirement,
  :requirement_trees,
  :activated_by_name,
  :underlying_error
)

#possibility_set (rw)

A conflict that the resolution process encountered

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb', line 20

Conflict = Struct.new(
  :requirement,
  :requirements,
  :existing,
  :possibility_set,
  :locked_requirement,
  :requirement_trees,
  :activated_by_name,
  :underlying_error
)

#requirement (rw)

A conflict that the resolution process encountered

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb', line 20

Conflict = Struct.new(
  :requirement,
  :requirements,
  :existing,
  :possibility_set,
  :locked_requirement,
  :requirement_trees,
  :activated_by_name,
  :underlying_error
)

#requirement_trees (rw)

A conflict that the resolution process encountered

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb', line 20

Conflict = Struct.new(
  :requirement,
  :requirements,
  :existing,
  :possibility_set,
  :locked_requirement,
  :requirement_trees,
  :activated_by_name,
  :underlying_error
)

#requirements (rw)

A conflict that the resolution process encountered

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb', line 20

Conflict = Struct.new(
  :requirement,
  :requirements,
  :existing,
  :possibility_set,
  :locked_requirement,
  :requirement_trees,
  :activated_by_name,
  :underlying_error
)

#underlying_error (rw)

A conflict that the resolution process encountered

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb', line 20

Conflict = Struct.new(
  :requirement,
  :requirements,
  :existing,
  :possibility_set,
  :locked_requirement,
  :requirement_trees,
  :activated_by_name,
  :underlying_error
)

Instance Method Details

#possibilityObject

Returns:

  • (Object)

    a spec that was unable to be activated due to a conflict

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb', line 33

def possibility
  possibility_set && possibility_set.latest_version
end