method
uninstall_all
v2_6_3 -
Show latest stable
- Class:
Gem::Commands::UninstallCommand
uninstall_all()public
No documentation available.
# 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