From: Laurent Sansonetti Date: 2008-08-14T17:30:09+09:00 Subject: [ruby-core:18296] Re: RUBY_ENGINE? On Thu, Aug 14, 2008 at 1:27 AM, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: [ruby-core:18289] Re: RUBY_ENGINE?" > on Thu, 14 Aug 2008 15:36:55 +0900, "Gregory Brown" writes: > > |> * Ruby 1.8 ("mri" or "ruby"?) > |> * Ruby 1.9 ("yarv" or "ruby"?) > | > |I think both of these should be "ruby", as you can find the version by > |RUBY_VERSION, > |But "ruby" would indicate the core's implementation. > > The point is we have different core for 1.8 and 1.9, but anyway, I > have added RUBY_ENGINE (as "ruby") constant for 1.9 now. Let's see > how it goes. > FYI, I added RUBY_ENGINE as "macruby" in my private branch. Laurent