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 21

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 45

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 39

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 9

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 33

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 27

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 15

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

#unused_unwind_options

A state that a Resolution can be in

[ GitHub ]

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

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