Subject: .times loop returns the number?
From: Roger Pack <rogerpack2005 gmail.com>
Date: Sat, 12 Jan 2008 09:13:32 +0900
12.times do |month_ahead|
end
returns 12
I would have expected this to return a collected array of the return
value of each block. Odd?
--
Posted via http://www.ruby-forum.com/.