Class: Bundler::Molinillo::Resolver::Resolution::Conflict

Inherits:
Struct
  • Object
show all
Defined in:
lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb

Overview

A conflict that the resolution process encountered

Instance Attribute Summary collapse

Instance Attribute Details

#existingObject?

the existing spec that was in conflict with the #possibility

Returns:

  • (Object, nil)

    the current value of existing



15
16
17
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 15

def existing
  @existing
end

#locked_requirementObject

the relevant locking requirement.

Returns:

  • (Object)

    the current value of locked_requirement



15
16
17
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 15

def locked_requirement
  @locked_requirement
end

#possibilityObject

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

Returns:

  • (Object)

    the current value of possibility



15
16
17
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 15

def possibility
  @possibility
end

#requirementObject

the requirement that immediately led to the conflict

Returns:

  • (Object)

    the current value of requirement



15
16
17
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 15

def requirement
  @requirement
end

#requirement_treesArray<Array<Object>>

the different requirement trees that led to every requirement for the conflicting name.

Returns:

  • (Array<Array<Object>>)

    the current value of requirement_trees



15
16
17
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 15

def requirement_trees
  @requirement_trees
end

#requirements{String,Nil=>[Object]}

the requirements that caused the conflict

Returns:

  • ({String,Nil=>[Object]})

    the current value of requirements



15
16
17
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 15

def requirements
  @requirements
end