From: dempsejn@... Date: 2002-01-04T19:00:08+09:00 Subject: [ruby-talk:30200] Re: chomp for arrays? I'm not sure what I'd "want after" but would there be a reason not to? That's what I'm wondering...if it'd slow down efficiency, etc...otherwise, i do think being able to use items like that iteratively on an array would be kinda nice... Jack ----- Original Message ----- From: ts Date: Friday, January 4, 2002 4:45 am Subject: [ruby-talk:30199] Re: chomp for arrays? > >>>>> "d" == dempsejn writes: > > d> Yeah, I realize its made for strings...but like the snippet > Sean > d> posted, if it encounters types other than strings it would > leave them > d> alone...is there any reason why this would be a bad idea to > implement > d> internally? > > Well, probably after you'll want the methods #sub, #capitalize, > etc from > String > > Why just chomp ? > > > Guy Decoux > > > >