class Bundler::CLI::Remove
公共类方法
new(gems, options) 点击切换源代码
# File bundler/cli/remove.rb, line 5 def initialize(gems, options) @gems = gems @options = options end
公共实例方法
run() 点击切换源代码
# File 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) end