From: Lyle Johnson Date: 2009-03-31T06:44:49+09:00 Subject: Re: Which methods does "puts" invoke? On Mon, Mar 30, 2009 at 4:16 PM, Iņaki Baz Castillo wrote: > Hi, if I redefine "to_s" or "inspect" methods in String class I still get the > original output when doing: > >  puts string > > Which String@method is invoked when executing "puts"? Based on my cursory inspection of the internals (in io.c) it doesn't appear that puts() is actually calling any of String's methods, at least not in any way that you can override them.