From: "Brian Schröder" Date: 2005-08-18T00:15:08+09:00 Subject: Re: Loop improvement On 17/08/05, EdUarDo wrote: > > home_squad = home.squad.to_a.map { |e| e.first } > > Which is the e's class? > > You could ask ruby for an answer: home_squad = home.squad.to_a.map { |e| p e.class; e.first } should give you the answer (multiple times even ;) regards, Brian -- http://ruby.brian-schroeder.de/ Stringed instrument chords: http://chordlist.brian-schroeder.de/