From: Andrew Stewart Date: 2007-10-03T17:23:49+09:00 Subject: Re: Discarding putc But Not puts On 2 Oct 2007, at 14:29, Morton Goldberg wrote: > Running the following code may cast some light on your problem. > > > class << $stdout > def putc(obj) > puts "1 called" > end > end > class << STDOUT > def putc(obj) > puts "2 called" > end > end > module Kernel > def putc(obj) > puts "3 called" > end > end > > putc 'b' > Thanks, Morton, that's a good, methodical way to determine what's being called. Most helpful. Regards, Andy Stewart ------- http://airbladesoftware.com