Spec-Zone.ru › Ruby 2.7

class Bundler::CLI::Remove

Родитель:
Object

Публичные Классовые Методы

new(gems, options) Показать исходный код
# File lib/bundler/cli/remove.rb, line 5
def initialize(gems, options)
  @gems = gems
  @options = options
end

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

run() Показать исходный код
# File lib/bundler/cli/remove.rb, line 10
def run
  raise InvalidOption, "Please specify gems to remove." if @gems.empty?

  Injector.remove(@gems, {})

  Installer.install(Bundler.root, Bundler.definition) if @options["install"]
end

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