James Gray
9/20/2007 12:57:00 PM
On Sep 20, 2007, at 7:46 AM, SpringFlowers AutumnMoon wrote:
> Is there a way to print the Ruby version from within a Ruby program?
>> RUBY_VERSION
=> "1.8.6"
> this is such as when in TextMate, i want the program to show
> whether it
> is running under Ruby 1.8.2 or 1.8.6
TextMate shows the version and location of the used Ruby interpreter
above the program output.
James Edward Gray II