1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* proc.c (method_inspect): preserve encoding of the method name.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2007-12-25 03:24:50 +00:00
parent f2c33914aa
commit 520d763d77
2 changed files with 5 additions and 1 deletions

View file

@ -2,6 +2,10 @@ Tue Dec 25 12:22:17 2007 NARUSE, Yui <naruse@ruby-lang.org>
* sample/from.rb: follow Ruby 1.9 libraries.
Tue Dec 25 12:21:56 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* proc.c (method_inspect): preserve encoding of the method name.
Tue Dec 25 12:07:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (BASERUBY): delayed error until BASERUBY is used.

2
proc.c
View file

@ -1402,7 +1402,7 @@ method_inspect(VALUE method)
}
}
rb_str_buf_cat2(str, sharp);
rb_str_buf_cat2(str, rb_id2name(data->oid));
rb_str_append(str, rb_id2str(data->oid));
rb_str_buf_cat2(str, ">");
return str;