From 6c0ca6f5e702ef13ccde5cd3c7abce64168279a5 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 6 Nov 2006 13:24:57 +0000 Subject: * string.c (Init_String): remove duplicated definition of Symbol#to_s. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ string.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 714489531..c17e1a8aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 6 22:23:52 2006 Yukihiro Matsumoto + + * string.c (Init_String): remove duplicated definition of + Symbol#to_s. + Mon Nov 6 18:54:13 2006 Yukihiro Matsumoto * eval.c (svalue_to_avalue): need to splat but no error. diff --git a/string.c b/string.c index 56b03baa7..8fc5c9836 100644 --- a/string.c +++ b/string.c @@ -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); -- cgit