From: "Iñaki Baz Castillo" Date: 2009-04-04T03:50:36+09:00 Subject: Re: Why is "rb_define_method(rb_cSymbol, ..." needed? El Viernes 03 Abril 2009, Iñaki Baz Castillo escribió: > Hi, I'm inspecting the C code of String#capitalize method and have found > the following: > > rb_define_method(rb_cSymbol, "capitalize", sym_capitalize, 0); > > What is it need for? I didn't add such line to my custom C method and works > ok. Ops, understood! It added "capitalize" method also to Symbols :) -- Iñaki Baz Castillo