Sebastian Hungerecker wrote: > Lee Jarvis wrote: > > Ok this probably won't make any send at all, but lets say i have > > something like this: > > > > def send(a) > > puts "#{a}\n" > > end > > > > def colorsend(a) > > puts "#{colorize(a)}\n" > > end > > > > def something > > send "hello" > > end > > > > > > > > Ok lets say i have 50+ methods like the something method, that relate to > > the send method, i want to be able to have 1 switch to change the method > > without changing every method that uses send(message) > > You could just redefine the method in question Or you could, of course, just check some var inside inside of the method, like def send(a) if @color puts colorize(a) else puts a end end Or did I totally misunderstand what you're trying to do? -- NP: Arcturus - Ad Absurdum Jabber: sepp2k / jabber.org ICQ: 205544826