From: Daniel Berger Date: 2009-05-29T04:30:32+09:00 Subject: [ruby-core:23600] Re: Meaning of RUBY_PLATFORM > -----Original Message----- > From: Rick DeNatale [mailto:rick.denatale@gmail.com] > Sent: Thursday, May 28, 2009 12:41 PM > To: ruby-core@ruby-lang.org > Subject: [ruby-core:23595] Meaning of RUBY_PLATFORM > > The RUBY_PLATFORM constant is documented in the latest Pickaxe as "The > identifier of the platform running this program." > > Actually it appears to actually be the identifier of the platform on > which ruby was compiled. It depends on how you define "platform" I suppose. JRuby will return "java". I can only guess what IronRuby, Maglev, etc, return for this value. Regards, Dan