From: "Peña, Botp" Date: 2008-10-25T14:58:08+09:00 Subject: Re: help with regular expressions From: Todd Benson [mailto:caduceass@gmail.com] # I couldn't find it explicitly in the docks either, but if you do # File.ancestors, you will see that Enumerable is in there. qri can find it botp@botp-desktop:~$ qri File#select ------------------------------------------------------ Enumerable#select enum.find_all {| obj | block } => array enum.select {| obj | block } => array ------------------------------------------------------------------------ Returns an array containing all elements of enum for which block is not false (see also Enumerable#reject). (1..10).find_all {|i| i % 3 == 0 } #=> [3, 6, 9]