def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
Represents a floating point number literal.
1.0 ^^^
The value of the floating point number as a Float.
Float