On Aug 13, 2008, at 23:22 , Yukihiro Matsumoto wrote:

> Hi,
>
> In message "Re: [ruby-core:18284] Re: RUBY_ENGINE?"
>    on Thu, 14 Aug 2008 10:59:24 +0900, Charles Oliver Nutter <charles.nutter / sun.com 
> > writes:
>
> |Since this thread seemed to die out, I'll ask again:
> |
> |Could RUBY_ENGINE please be added to 1.8.x and 1.9.x so users can  
> rely
> |on one constant to know the implementation they're on?
>
> In that case, what should the value for each implementation be?
>
>  * Ruby 1.8 ("mri" or "ruby"?)
>  * Ruby 1.9 ("yarv" or "ruby"?)
>  * JRuby ("jruby" perhaps)
>  * MacRuby ("macrruby"?)
>  * Rubinius ("rubinius" or "rbx"?)
>  * IronRuby ("ironruby"?)
>  * ....

symbols? better for case stmts / hashes etc.

(and I agree that it should be "ruby" for both 1.8 and 1.9--it is the  
family that matters)