From: Nat Pryce Date: 2001-08-01T20:27:27+09:00 Subject: [ruby-talk:18952] Re: newbie autovivification > > Please add this cool Python stuff to Ruby. > > > > If 25 < foo < 75 : print "middle" > > This would be nice, but it requires hacking the parser, which (as far as > I understand) is already a complex beast. At least "25 < x < 75" raises an > exception in Ruby. It doesn't silently give the wrong answer (as in C). And you can use a range: print "middle" if 25..75 === foo