def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
Base exception class for RubyGems. All exception raised by RubyGems are a subclass of this one.