From: Florian Frank Date: 2005-10-28T04:27:49+09:00 Subject: Re: [SUMMARY] Ducksay (#52) James Edward Gray II wrote: >> ary.max { |a,b| a.size <=> b.size }.size > > > Very nice. I forgot max() can take a block. In 1.9. it could be even nicer, but maybe slightly more inefficient: ary.max_by { |x| x.size }.size -- Florian Frank