def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
static VALUE num_uplus(VALUE num) { return num; }
Returns self.
self