diff options
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1169,8 +1169,8 @@ rb_method_name_error(VALUE klass, VALUE str) else if (RB_TYPE_P(c, T_MODULE)) { s0 = " module"; } - rb_name_error_str(str, "undefined method `%s' for%s `%s'", - RSTRING_PTR(str), s0, rb_class2name(c)); + rb_name_error_str(str, "undefined method `%"PRIsVALUE"' for%s `%"PRIsVALUE"'", + QUOTE(str), s0, rb_class_name(c)); } /* |