method

uninstall_all

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: UninstallCommand
uninstall_all() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/uninstall_command.rb, line 138
  def uninstall_all
    specs = Gem::Specification.reject { |spec| spec.default_gem? }

    specs.each do |spec|
      options[:version] = spec.version
      uninstall_gem spec.name
    end

    alert "Uninstalled all gems in #{options[:install_dir]}"
  end
Register or log in to add new notes.