with r=(5..9), r.each{|num| print num,"\n"} behaves as expected.

However if i set r=(9..5) the same method does not behave as though it 
were taking "each" element of the range.  It just terminates.  Not only 
that but r.include?(7) is false???

Is this a bug or was it done on purpose for some reason?  Are range 
specifications  only allowed to be "low to high"  if so, why?  Also if 
so, then why no error message and why does r = (9..5)?

Thanks in advance!
joe

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