Hi,

In the example book I'm using, I ran across the following lines of code:

young_people = people.find_all do |p|
p[3].to_i.between?(20,40)
end

Now, "people" is defined by 'p' is not - what does that code do when it
says "do |p|"?

Thanks!

-- 
Posted via http://www.ruby-forum.com/.