Compile Ruby Script

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

Found it:

CompiledCode compiledScript =
scriptScope.Engine.CreateScriptSourceFromString(script).Compile()

Regards,

Aaron