模块 Gem::Molinillo::Delegates::ResolutionState

Delegates 将所有 {Gem::Molinillo::ResolutionState} 方法委托给 '#state' 属性。

公共实例方法

activated() 点击切换源码

(参见 Gem::Molinillo::ResolutionState#activated)

# File rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 21
def activated
  current_state = state || Gem::Molinillo::ResolutionState.empty
  current_state.activated
end
conflicts() 点击切换源码

(参见 Gem::Molinillo::ResolutionState#conflicts)

# File rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 45
def conflicts
  current_state = state || Gem::Molinillo::ResolutionState.empty
  current_state.conflicts
end
depth() 点击切换源码

(参见 Gem::Molinillo::ResolutionState#depth)

# File rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 39
def depth
  current_state = state || Gem::Molinillo::ResolutionState.empty
  current_state.depth
end
name() 点击切换源码

(参见 Gem::Molinillo::ResolutionState#name)

# File rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 9
def name
  current_state = state || Gem::Molinillo::ResolutionState.empty
  current_state.name
end
possibilities() 点击切换源码

(参见 Gem::Molinillo::ResolutionState#possibilities)

# File rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 33
def possibilities
  current_state = state || Gem::Molinillo::ResolutionState.empty
  current_state.possibilities
end
requirement() 点击切换源码

(参见 Gem::Molinillo::ResolutionState#requirement)

# File rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 27
def requirement
  current_state = state || Gem::Molinillo::ResolutionState.empty
  current_state.requirement
end
requirements() 点击切换源码

(参见 Gem::Molinillo::ResolutionState#requirements)

# File rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 15
def requirements
  current_state = state || Gem::Molinillo::ResolutionState.empty
  current_state.requirements
end
unused_unwind_options() 点击切换源码

(参见 Gem::Molinillo::ResolutionState#unused_unwind_options)

# File rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb, line 51
def unused_unwind_options
  current_state = state || Gem::Molinillo::ResolutionState.empty
  current_state.unused_unwind_options
end