diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-11-06 13:24:57 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-11-06 13:24:57 +0000 |
commit | 0ee03fefad15b93f5320b5270aaf03d518969708 (patch) | |
tree | 39e0e3220234cf34dee920404825bfc1c25c27e8 | |
parent | 862e723d03878cd7a3b2ad72cb99302084db8a71 (diff) | |
download | ruby-0ee03fefad15b93f5320b5270aaf03d518969708.tar.gz |
* string.c (Init_String): remove duplicated definition of
Symbol#to_s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | string.c | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Nov 6 22:23:52 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * string.c (Init_String): remove duplicated definition of + Symbol#to_s. + Mon Nov 6 18:54:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * eval.c (svalue_to_avalue): need to splat but no error. @@ -5020,7 +5020,6 @@ Init_String(void) rb_define_method(rb_cSymbol, "chr", rb_str_chr, 0); rb_define_method(rb_cSymbol, "to_f", rb_str_to_f, 0); - rb_define_method(rb_cSymbol, "to_s", rb_str_to_s, 0); rb_define_method(rb_cSymbol, "to_str", rb_str_to_s, 0); rb_define_method(rb_cSymbol, "dump", rb_str_dump, 0); |