From: "Jesús Gabriel y Galán" Date: 2009-01-21T02:02:03+09:00 Subject: Re: issue using method 'odd?' On Tue, Jan 20, 2009 at 5:48 PM, Michael Morin wrote: > Jesús Gabriel y Galán wrote: >> >> Ruby 1.8 doesn't have an odd? method per se. Rail's ActiveSupport adds >> one to Integer. The code is quite simple, so I wouldn't require active >> support only for this: > > Ruby 1.8.7 has odd? > > uzimonkey@WOPRJr:~$ ruby -v > ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] > uzimonkey@WOPRJr:~$ ruby -e 'puts 1.odd?' > true Doh, you are right ! I was checking 1.8.6. Jesus.