From: "Bartosz DziewoƄski" Date: 2012-02-09T03:34:33+09:00 Subject: Re: Require bug confirmation: possible 'times' method error Calling num.times{|i| ...} counts from 0 to num-1, *not* from 1 to num. Therefore, using 6 here will never trigger the condition (since 5 is not greater than 5), the explicit return will not be used, and the method will return the value of last expression. This expression is the #times block, and #times returns the receiver (ie., the number it was called on) - in this case, 6. Then the multiple assignment will assign 6 to first variable, and nil to the second one. -- Matma Rex