def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
UNIXSocket represents a UNIX domain stream client socket.
UNIXSocket