nobu / ruby-lang.org wrote: > Why not `String#-@`? As in the following? (short patch, full below) --- a/string.c +++ b/string.c @@ -10002,7 +9989,7 @@ Init_String(void) rb_define_method(rb_cString, "scrub!", str_scrub_bang, -1); rb_define_method(rb_cString, "freeze", rb_str_freeze, 0); rb_define_method(rb_cString, "+@", str_uplus, 0); - rb_define_method(rb_cString, "-@", str_uminus, 0); + rb_define_method(rb_cString, "-@", rb_fstring, 0); rb_define_method(rb_cString, "to_i", rb_str_to_i, -1); rb_define_method(rb_cString, "to_f", rb_str_to_f, 0); Changing existing behavior method might break compatibility; but test-all and test-rubyspec seems to pass... full: https://80x24.org/spew/20161228024937.9345-1-e / 80x24.org/raw Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>