Skip to content

Commit

Permalink
* string.c (Init_String): remove duplicated definition of
Browse files Browse the repository at this point in the history
  Symbol#to_s.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
matz committed Nov 6, 2006
1 parent 862e723 commit 0ee03fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 0 additions & 1 deletion string.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0ee03fe

Please sign in to comment.