[Ironruby-core] Using Local Variable in Silverlight

Aaron Clauson lists at ruby-forum.com
Tue Jul 15 04:48:37 EDT 2008


Tomas Matousek wrote:
> What's the exception type and message? 

The exception type is MethodAccessException and the message is:

"Ruby.Runtime.RubyTopLevelScope.TopMethodMissing(Microsoft.Scripting.Runtime.CodeContext,
System.Object, Ruby.Runtime.BlockParam, Microsoft.Scripting.SymbolId,
System.Object[])"

> Could you please file this as a bug?

I submitted a bug report on the RubyForge site but is hasn't shown up. 
Hopefully that's just to do with it ebing moderated.

The original code snippet works if changed to:

ScriptScope scriptScope = 
IronRuby.CreateRuntime().CreateScope("IronPython");
or
ScriptScope scriptScope = 
IronRuby.CreateRuntime().CreateScope("jscript");

Regards,

Aaron
-- 
Posted via http://www.ruby-forum.com/.


More information about the Ironruby-core mailing list