def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
#define sym_equal rb_obj_equal
Alias of #==
Returns true if object is the same object as self, false otherwise.
true
object
self
false