LOOPER = 6

-(LOOPER).upto(LOOPER) {|i|
puts i }

I get one line of output:  6

However, I get 13 lines of output here:

(-LOOPER).upto(LOOPER) {|i|
puts i }

What is happening with the unary minus on the first example?  I expected
to get identical output.

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