From: Tommy Morgan Date: 2008-08-14T05:30:43+09:00 Subject: Re: Redefine "method" method ------=_Part_43148_27356708.1218659602332 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Technically, it seems that you could do something along the lines of the following: class Test class << self undef_method "method" end end Although... that really seems like a bad idea. I don't know enough about th= e internals to say whether or not anything would break (I poked at it a littl= e and haven't tripped across any side effects, but it seems like there should be). Any chance you could just use a different name for your method? --Tommy M. On Wed, Aug 13, 2008 at 4:10 PM, I=F1aki Baz Castillo wrote= : > Hi, I'd like to have a method called "method" in some classes, but > since "method" is a Ruby method present in any class I would like if it > could > originate any problem. > > -- > I=F1aki Baz Castillo > > ------=_Part_43148_27356708.1218659602332--