From: Robert Klemme Date: 2004-09-04T01:45:17+09:00 Subject: Re: autochomp? "Dave Thomas" schrieb im Newsbeitrag news:6D03438C-FDC4-11D8-9F8D-000A95676A62@pragprog.com... > > On Sep 3, 2004, at 11:10, Robert Klemme wrote: > > If at all a method argument acting as flag would be appropriate > > ($global == > > EVIL). I guess it was omitted because #readlines has already an > > optional > > parameter (the line terminator). > > > What we need is TRAITS! Let's implement Perl6 in Ruby :) As I'm ignorant of Perl 6, how would you solve this by using traits? Wouldn't a second method be simpler? (IO#readcontent or such) Kind regards robert