123456789_123456789_123456789_123456789_123456789_

Class: Gem::Resolver::Molinillo::ResolutionState

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
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/state.rb,
lib/rubygems/resolver/molinillo/lib/molinillo/state.rb

Overview

A state that a Resolution can be in

Class Method Summary

Instance Attribute Summary

Class Method Details

.emptyResolutionState

Returns an empty resolution state

Returns:

  • (ResolutionState)

    an empty state

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/state.rb', line 24

def self.empty
  new(nil, [], DependencyGraph.new, nil, nil, 0, Set.new)
end

Instance Attribute Details

#activated (rw)

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/state.rb', line 11

ResolutionState = Struct.new(
  :name,
  :requirements,
  :activated,
  :requirement,
  :possibilities,
  :depth,
  :conflicts
)

#conflicts (rw)

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/state.rb', line 11

ResolutionState = Struct.new(
  :name,
  :requirements,
  :activated,
  :requirement,
  :possibilities,
  :depth,
  :conflicts
)

#depth (rw)

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/state.rb', line 11

ResolutionState = Struct.new(
  :name,
  :requirements,
  :activated,
  :requirement,
  :possibilities,
  :depth,
  :conflicts
)

#name (rw)

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/state.rb', line 11

ResolutionState = Struct.new(
  :name,
  :requirements,
  :activated,
  :requirement,
  :possibilities,
  :depth,
  :conflicts
)

#possibilities (rw)

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/state.rb', line 11

ResolutionState = Struct.new(
  :name,
  :requirements,
  :activated,
  :requirement,
  :possibilities,
  :depth,
  :conflicts
)

#requirement (rw)

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/state.rb', line 11

ResolutionState = Struct.new(
  :name,
  :requirements,
  :activated,
  :requirement,
  :possibilities,
  :depth,
  :conflicts
)

#requirements (rw)

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/state.rb', line 11

ResolutionState = Struct.new(
  :name,
  :requirements,
  :activated,
  :requirement,
  :possibilities,
  :depth,
  :conflicts
)