def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
The Uri handles rubygems source URIs.
Uri
Add a protected reader for the cloned instance to access the original object’s parsed uri