Michael Letterle
2008-Mar-11 20:39 UTC
[Ironruby-core] Knowing if the CLR/BCL is available...
So what''s going to be the preferred way of knowing if your ruby app is running under IronRuby? RUBY_PLATFORM can''t be used because it''s just i386-mswin32, this doesn''t tell us that CLR interop is available... could be handy to have... -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com
John Lam (DLR)
2008-Mar-11 20:52 UTC
[Ironruby-core] Knowing if the CLR/BCL is available...
Michael Letterle:> So what''s going to be the preferred way of knowing if your ruby app is > running under IronRuby? RUBY_PLATFORM can''t be used because it''s just > i386-mswin32, this doesn''t tell us that CLR interop is available... > could be handy to have...Not available yet, but IRONRUBY_VERSION will be the constant. -John