From: Konrad Meyer Date: 2007-10-14T12:46:42+09:00 Subject: Re: top 10 last played mp3's --nextPart5013869.Pj8XuXjaph Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Quoth Brian Adkins: > On Oct 13, 7:06 pm, Konrad Meyer wrote: > > require 'find' > > > > Find.find("/share/music/").sort_by { |f| f.atime }.reverse[0...10] >=20 > Doesn't Find.find() require a block? And doesn't it pass a string to > the block, not a File ? Sorry, don't know anything about it, I was just going by the usage put fort= h=20 by the guy in front of me. =2D-=20 Konrad Meyer http://konrad.sobertillnoon.com/ --nextPart5013869.Pj8XuXjaph Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHEZEfCHB0oCiR2cwRAvd9AKDOBtOgOWF/fL0V34GIy76bBJrB3QCgmwYH iWDv1hck8h8EDXhcPrVR+PA= =+L9L -----END PGP SIGNATURE----- --nextPart5013869.Pj8XuXjaph--