Class: Bundler::Molinillo::ResolutionState

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

Overview

A state that a Resolution can be in

Direct Known Subclasses

DependencyState, PossibilityState

Instance Attribute Summary collapse

Instance Attribute Details

#activatedDependencyGraph

Returns the current value of activated.

Returns:



10
11
12
# File 'lib/bundler/vendor/molinillo/lib/molinillo/state.rb', line 10

def activated
  @activated
end

#conflictsSet<Object>

Returns the current value of conflicts.

Returns:

  • (Set<Object>)

    the current value of conflicts



10
11
12
# File 'lib/bundler/vendor/molinillo/lib/molinillo/state.rb', line 10

def conflicts
  @conflicts
end

#depthInteger

Returns the current value of depth.

Returns:

  • (Integer)

    the current value of depth



10
11
12
# File 'lib/bundler/vendor/molinillo/lib/molinillo/state.rb', line 10

def depth
  @depth
end

#nameString

Returns the current value of name.

Returns:

  • (String)

    the current value of name



10
11
12
# File 'lib/bundler/vendor/molinillo/lib/molinillo/state.rb', line 10

def name
  @name
end

#possibilitiesObject

Returns the value of attribute possibilities

Returns:

  • (Object)

    the current value of possibilities



10
11
12
# File 'lib/bundler/vendor/molinillo/lib/molinillo/state.rb', line 10

def possibilities
  @possibilities
end

#requirementObject

Returns the current value of requirement.

Returns:

  • (Object)

    the current value of requirement



10
11
12
# File 'lib/bundler/vendor/molinillo/lib/molinillo/state.rb', line 10

def requirement
  @requirement
end

#requirementsArray<Object>

Returns the current value of requirements.

Returns:

  • (Array<Object>)

    the current value of requirements



10
11
12
# File 'lib/bundler/vendor/molinillo/lib/molinillo/state.rb', line 10

def requirements
  @requirements
end