[Ironruby-core] What replaces RubyEngine.CurrentEngine?
tomas at winterdom.com
Mon Dec 3 15:07:41 EST 2007
The way I've been doing it has been:
ScriptDomainManager manager = ScriptDomainManager.CurrentManager;
LanguageProvider ruby =
ScriptEngine eng = ruby.GetEngine();
RubyEngine rubyEng = ((RubyEngine)eng);
dunno if that will help you.
On 12/3/07, Phil Haack <haacked at gmail.com> wrote:
> Ha! I'm just preparing it in case I run out of time and need something
> else whiz-bang to demo. So if I don't get it working, oh well. I'll
> dance like a monkey for half an hour.
> I'm using the most recent build. I grabbed from trunk and compiled.
> Unless someone has a public interface, I'll cheat and use reflection to
> grab that. ;)
> Please help! Don't make me cheat. :)
> Curt Hagenlocher wrote:
> > On 12/3/07, Phil Haack <haacked at gmail.com> wrote:
> >> Hi All, I'm updating some demos I did for ASP.NET MVC.
> > Better get cracking; only seven hours until the demo! :P
> > I don't know the correct answer, but if you were using the most recent
> > public update of the source code you could still use
> > RubyEngine.CurrentEngine -- you just have to work around the fact that
> > it's declared "internal".
> > --
> > Curt Hagenlocher
> > curt at hagenlocher.org
> > _______________________________________________
> > Ironruby-core mailing list
> > Ironruby-core at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/ironruby-core
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
More information about the Ironruby-core