Re: [Ironruby-core] Platform

2009-10-29 Thread Nathan Stults
Very nice, thank you From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Shri Borde Sent: Thursday, October 29, 2009 12:29 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Platform You can use this construct: >>>

Re: [Ironruby-core] Platform

2009-10-29 Thread Ivan Porto Carrero
I use IRONRUBY_VERSION require 'caricature/clr' if defined?(IRONRUBY_VERSION) But we do need to find a way to "fix" the rbconfig file because it would be good to interrogate that sometimes. --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Tw

Re: [Ironruby-core] Platform

2009-10-29 Thread Shri Borde
@rubyforge.org Subject: [Ironruby-core] Platform I noticed that the PLATFORM and RUBY_PLATFORM constants returns the same string when running from MRI as from IronRuby. Is there a standard Ruby constant or Kernel method or something that will indicate that the interpreter is IronRuby as opposed to MRI?

[Ironruby-core] Platform

2009-10-29 Thread Nathan Stults
I noticed that the PLATFORM and RUBY_PLATFORM constants returns the same string when running from MRI as from IronRuby. Is there a standard Ruby constant or Kernel method or something that will indicate that the interpreter is IronRuby as opposed to MRI? While it is certainly true that the OS is th