We removed it for 2 reasons:
1) RubyContext is not a supported public API and can change any time.
Hosting APIs on the other hand (i.e. IronRuby.Ruby class) will remain stable.
We'll try hard not to introduce breaking changes.
2) RubyContext is not remoting aware while Hosting APIs ar
.
~Jimmy
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jimmy Schementi
Sent: Monday, March 08, 2010 2:27 AM
To: Tomas Matousek
Cc: 'ironruby-core@rubyforge.org'
Subject: Re: [Ironruby-core] IronRuby.Ruby.GetExecutionContext removed
Tomas
Tomas,
What reasons did we have for removing this in the first place? It also affects
anyone writing code that uses our Ruby types/library methods in their own code
(for providing the correct types to Ruby code); IronRuby.Rack does this.
As a work-around, are we really expecting people to use
including the mailing list as people might run into this ...
Tomas, I know you recently removed IronRuby.Ruby.GetExecutionContext; is there
any other way to get to the instance of IronRuby.Ruby.RubyContext? I'd presume
anyone hosting IronRuby and define ruby global variables was using
DefineGlo