From: Stefano Grioni Date: 2011-02-01T15:51:29+09:00 Subject: Decreasing range? Hello everybody. I just noticed a behavior I don't really get related to Range and Enumerator. if I write down something like (1..4).each { |i| p i } , this will print 1234 However, if I write (4..1).each { |i| p i }, nothing will be printed out despite 4..1 is a valid range. Can anyone explain me why this strange behavior is implemented as such, and how can I circle that without the need to use the very ugly 1..4).each { |i| p (4-i) } ? Thanks a lot for your answer, Best regards -- Posted via http://www.ruby-forum.com/.