Found it:
CompiledCode compiledScript =
scriptScope.Engine.CreateScriptSourceFromString(script).Compile()
Regards,
Aaron
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailma
Hi,
Is there a compile option available for IronRuby so that a script could
be compiled and then re-executed repeatedly? The PythonEngine has a
compile option that facilitates that and I'm trying to determine if
IronRuby has an equivalent.
Thanks,
Aaron
--
Posted via http://www.ruby-forum.com/.