In Files

  • bundler/cli/remove.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

Bundler::CLI::Remove

Public Class Methods

new(gems, options) click to toggle source
 
               # File bundler/cli/remove.rb, line 4
def initialize(gems, options)
  @gems = gems
  @options = options
end
            

Public Instance Methods

run() click to toggle source
 
               # File bundler/cli/remove.rb, line 9
def run
  raise InvalidOption, "Please specify gems to remove." if @gems.empty?

  Injector.remove(@gems, {})
  Installer.install(Bundler.root, Bundler.definition)
end
            
There is an updated format of the API docs for this version here.