From: tho_mica_l [mailto:micathom / gmail.com]=20
# x =3D 1
# (2..3).each {|x|}
# p x
# =3D> 3
#=20
# I think this is intended though and AFAIK this behaviour is subject
# to change in 2.0 and maybe has already changed in 1.9.

indeed.
C:\ruby1.9\bin>irb

irb(main):001:0> x =3D 1
=3D> 1
irb(main):002:0> (2..3).each {|x|}
=3D> 2..3
irb(main):003:0> p x
1
=3D> 1

kind regards -botp