From: Eric Mahurin Date: 2005-08-21T21:14:14+09:00 Subject: Re: Non-overridable and non-redefinable methods --- Eric Hodel wrote: > > Or they may have in-lined certain methods > > (possibly C) manually for performance reasons. > > The way things work now, I can alias the method aside and fix > it > without jumping through hoops, whether it is from a C > extension or if > it is in Ruby itself. I'm talking about where that method is effectively used, not the method itself. For example, with String#[] you can change it all you want, but it will typically have no effect on typical C code that uses Strings (i.e. in Regexp) because they bypass that method call and in-line the method. The same could be done with 3rd-party libraries - most common in C but could be done in ruby also. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com