[Ironruby-core] Passing a .NET object to the RubyEngine...
Charles Oliver Nutter
charles.nutter at sun.com
Fri Sep 28 13:48:05 EDT 2007
Eric Nicholson wrote:
> Someone at MS can probably answer this better than I, but I'm guessing
> that passing in the module explicitly to the ExecuteCommand statement is
> what makes this work. If you leave off that optional parameter the
> variable isn't directly accessible.
> You can always create a new module fairly easily and pass that in as
> well if you'd rather.
Local variables aren't stored in modules though; unless this is adding
an attribute, which would seem really wrong.
More information about the Ironruby-core