From: kjana@...4lab.to (YANAGAWA Kazuhisa) Date: 2002-12-05T20:51:36+09:00 Subject: Re: "methods" method In message xrfang@hotmail.com writes: > I tried String.methods-Kernel.methods in irb, found that most methods of > String are inherited from Kernel. I don't know for methods like sub, gsub, > split, strip, chomp... Are they String specific? Why they exist in Kernel? Hm, you should try `String.instance_methods-Kernel.instance_methods' then immediately remember classes have two distinct kind of methods :-) -- kjana@dm4lab.to December 5, 2002 Translators, traitors.