def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
Helper methods for both Gem::Installer and Gem::Uninstaller
Gem::Installer
Gem::Uninstaller