Spec-Zone.ru › Ruby 2.7

класс Bundler::Molinillo::DependencyState

Родитель:
Bundler::Molinillo::ResolutionState

Состояние, которое инкапсулирует набор {#requirements} с массивом возможностей

Публичные методы экземпляра

pop_possibility_state() Показать исходный код
# File lib/bundler/vendor/molinillo/lib/molinillo/state.rb, line 38
def pop_possibility_state
  PossibilityState.new(
    name,
    requirements.dup,
    activated,
    requirement,
    [possibilities.pop],
    depth + 1,
    conflicts.dup,
    unused_unwind_options.dup
  ).tap do |state|
    state.activated.tag(state)
  end
end

Удаляет возможность из `self` @return [PossibilityState] состояние с одной возможностью,

the possibility that was removed from `self`

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API