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

#activated_by_name{String=>Object}

the already-activated specs.

Returns:

  • ({String=>Object})

    the current value of activated_by_name



17
18
19
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 17

def activated_by_name
  @activated_by_name
end

#existingObject?

the existing spec that was in conflict with the #possibility

Returns:

  • (Object, nil)

    the current value of existing



17
18
19
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 17

def existing
  @existing
end

#locked_requirementObject

the relevant locking requirement.

Returns:

  • (Object)

    the current value of locked_requirement



17
18
19
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 17

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



17
18
19
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 17

def possibility
  @possibility
end

#requirementObject

the requirement that immediately led to the conflict

Returns:

  • (Object)

    the current value of requirement



17
18
19
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 17

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



17
18
19
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 17

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



17
18
19
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 17

def requirements
  @requirements
end