123456789_123456789_123456789_123456789_123456789_

Module: Gem::Resolver::Molinillo::Delegates::ResolutionState

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb

Overview

Instance Method Summary

Instance Method Details

#activated

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb', line 20

def activated
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.activated
end

#conflicts

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb', line 44

def conflicts
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.conflicts
end

#depth

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb', line 38

def depth
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.depth
end

#name

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb', line 8

def name
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.name
end

#possibilities

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb', line 32

def possibilities
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.possibilities
end

#requirement

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb', line 26

def requirement
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.requirement
end

#requirements

A state that a Resolution can be in

[ GitHub ]

  
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb', line 14

def requirements
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.requirements
end