From: Tom Werner Date: 2006-07-14T09:04:00+09:00 Subject: Re: Preferred monkeypatching technique Daniel Berger wrote: > > Perhaps add a namespace? > Eric Hodel wrote: > > You just described subclasses: > Well, the idea is that the 3rd party software is going to be using whatever classes it has always used, so just creating a subclass doesn't get me anywhere because the 3rd party app (i.e. Rails) doesn't give a hoot about my BigNozzleFiretruck. Similarly, creating a separate namespace via a module has the same problem. I can do that all day long but the 3rd party app won't care (or is there a way to MAKE it care?). It occurs to me that the use of GUIDs might be in order: alias_method :put_out_fire_baee44c012cb11dbac5d0800200c9a66, :put_out_fire Ugly but functional? Tom -- Tom Werner Helmets to Hardhats Software Developer tom@helmetstohardhats.org www.helmetstohardhats.org