module Gem::Resolver::Molinillo::Delegates::ResolutionState

Delegates all {Gem::Resolver::Molinillo::ResolutionState} methods to a `#state` property.

Public Instance Methods

activated() click to toggle source

(see Gem::Resolver::Molinillo::ResolutionState#activated)

# File lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb, line 19
def activated
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.activated
end
conflicts() click to toggle source

(see Gem::Resolver::Molinillo::ResolutionState#conflicts)

# File lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb, line 43
def conflicts
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.conflicts
end
depth() click to toggle source

(see Gem::Resolver::Molinillo::ResolutionState#depth)

# File lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb, line 37
def depth
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.depth
end
name() click to toggle source

(see Gem::Resolver::Molinillo::ResolutionState#name)

# File lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb, line 7
def name
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.name
end
possibilities() click to toggle source

(see Gem::Resolver::Molinillo::ResolutionState#possibilities)

# File lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb, line 31
def possibilities
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.possibilities
end
requirement() click to toggle source

(see Gem::Resolver::Molinillo::ResolutionState#requirement)

# File lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb, line 25
def requirement
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.requirement
end
requirements() click to toggle source

(see Gem::Resolver::Molinillo::ResolutionState#requirements)

# File lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb, line 13
def requirements
  current_state = state || Gem::Resolver::Molinillo::ResolutionState.empty
  current_state.requirements
end