From: nobu.nokada@... Date: 2002-12-05T20:34:38+09:00 Subject: Re: "methods" method Hi, At Thu, 5 Dec 2002 19:54:50 +0900, Shannon Fang wrote: > 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? Note that String.methods returns singleton methods of String. I imagine what you really want is: String.instance_methods-Kernel.instance_methods -- Nobu Nakada