W3cubDocs

/Ruby 2.7

module Bundler::Molinillo::Delegates::ResolutionState

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

Public Instance Methods

activated() Show source
# File lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 21
def activated
  current_state = state || Bundler::Molinillo::ResolutionState.empty
  current_state.activated
end

(see Bundler::Molinillo::ResolutionState#activated)

conflicts() Show source
# File lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 45
def conflicts
  current_state = state || Bundler::Molinillo::ResolutionState.empty
  current_state.conflicts
end

(see Bundler::Molinillo::ResolutionState#conflicts)

depth() Show source
# File lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 39
def depth
  current_state = state || Bundler::Molinillo::ResolutionState.empty
  current_state.depth
end

(see Bundler::Molinillo::ResolutionState#depth)

name() Show source
# File lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 9
def name
  current_state = state || Bundler::Molinillo::ResolutionState.empty
  current_state.name
end

(see Bundler::Molinillo::ResolutionState#name)

possibilities() Show source
# File lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 33
def possibilities
  current_state = state || Bundler::Molinillo::ResolutionState.empty
  current_state.possibilities
end

(see Bundler::Molinillo::ResolutionState#possibilities)

requirement() Show source
# File lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 27
def requirement
  current_state = state || Bundler::Molinillo::ResolutionState.empty
  current_state.requirement
end

(see Bundler::Molinillo::ResolutionState#requirement)

requirements() Show source
# File lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 15
def requirements
  current_state = state || Bundler::Molinillo::ResolutionState.empty
  current_state.requirements
end

(see Bundler::Molinillo::ResolutionState#requirements)

unused_unwind_options() Show source
# File lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 51
def unused_unwind_options
  current_state = state || Bundler::Molinillo::ResolutionState.empty
  current_state.unused_unwind_options
end

(see Bundler::Molinillo::ResolutionState#unused_unwind_options)

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.