From: James Britt Date: 2006-04-29T09:39:49+09:00 Subject: Re: HTTP:Post and Ruby 1.8.2 Jason Persampieri wrote: > On 4/28/06, Logan Capaldo wrote: > >> 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? Yes. See the example above. :) -- James Britt http://www.ruby-doc.org - Ruby Help & Documentation http://www.artima.com/rubycs/ - The Journal By & For Rubyists http://www.rubystuff.com - The Ruby Store for Ruby Stuff http://refreshingcities.org - Design, technology, usability