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

Inherits:
Struct
  • Object
show all
Defined in:
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



11
12
13
# File 'lib/molinillo/resolution.rb', line 11

def existing
  @existing
end

#possibilityObject

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

Returns:

  • (Object)

    the current value of possibility



11
12
13
# File 'lib/molinillo/resolution.rb', line 11

def possibility
  @possibility
end

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

the requirements that caused the conflict

Returns:

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

    the current value of requirements



11
12
13
# File 'lib/molinillo/resolution.rb', line 11

def requirements
  @requirements
end