From: ts Date: 2002-01-04T18:23:11+09:00 Subject: [ruby-talk:30193] Re: chomp for arrays? >>>>> "d" == dempsejn writes: d> I was wondering if there was a built-in for chomping an Array. I was d> going to write a little one liner to include in various places, but it d> seems like it'd be useful to have chomp be able to accept an array as d> well. Has there been any discussion on this or reasons not to? Well, actually chomp is defined as a method of String or a global function. What do you do if the array contain something other than a String ? Guy Decoux