Konrad Meyer wrote:
> Quoth Andreas S.:
>> > know how to (correctly) compare a date to the return value of
>> 
>> Dir['/share/music/**/*.mp3', '/share/music/*.mp3'].sort_by{|f| 
>> File.atime}.reverse[0,10]
> 
> Or, if it's deeper than two levels:

'**' takes care of that.
-- 
Posted via http://www.ruby-forum.com/.