From: Carlos Date: 2003-08-12T22:36:10+09:00 Subject: Re: Ruby and OOP-design (question of an old "procedural person" ;) > Then I thought of a list first sorted by time and then by frequency > and wrote > > @list.sort_by { |item| [item[2], item[0] ] } > > and astonishly Ruby quaks ;) with : > > swlist:62:in `sort_by': comparison of Array with Array failed (ArgumentError) > from swlist:62 One or more of your times is nil.