From: Jason Persampieri Date: 2006-04-29T09:22:43+09:00 Subject: Re: HTTP:Post and Ruby 1.8.2 ------=_Part_17420_25069200.1146270160491 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 4/28/06, Logan Capaldo wrote: > > > On Apr 28, 2006, at 7:58 PM, Jason Persampieri wrote: > > > Should I check the Ruby version? How would I actually do > > that? > > None of my searches paid off. > > Should you? That's debatable. Could you? Absolutely. > > % ruby -e 'p VERSION' > "1.8.4" while I guess I *could* call eval and get that, is there a way to check the ruby version at runtime? A global var or something? I've decided to just change my code to something that works in both versions, but I'm still curious how to do this :) _jason ------=_Part_17420_25069200.1146270160491--