[Ironruby-core] Passing a .NET object to the RubyEngine...

Eric Nicholson enicholson at gmail.com
Fri Sep 28 14:09:14 EDT 2007

I believe there are two types of "Modules" at play here.  I think a DLR
"Module" is something more like a scope than the Ruby "Module".

On 9/28/07, Charles Oliver Nutter <charles.nutter at sun.com> wrote:
> 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.
> - Charlie
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20070928/e52eabd8/attachment.html 

More information about the Ironruby-core mailing list