From: "Hal E. Fulton" Date: 2001-02-18T20:59:26+09:00 Subject: [ruby-talk:11048] Re: to_s and << ----- Original Message ----- From: David Alan Black To: ruby-talk ML Sent: Sunday, February 18, 2001 1:21 AM Subject: [ruby-talk:11042] Re: to_s and << [snip] > > I notice, though, that the pickaxe book gives the argument type for > String#<< as aFixnum or anObject (not aString), and in string.c there > does seem to be some conversion going on: > [snip C code] > > And yet, this can't be the whole story, since the TypeErrors do > happen. Further detective work (and/or clarification by those ahead > of me in the process :-) required.... > > I've wondered about this too... Dave, could this be considered a bug in The Book? Hal Fulton