[Ironruby-core] DLR hosting

Ivan Porto Carrero ivan at flanders.co.nz
Fri Jan 30 07:46:56 EST 2009

it will show that so far I've been working with instead of on IronRuby :)
And then I've been focussed on using the Ruby language and .NET from Ruby
instead of using C# to host Ironruby.
I'm using a debug build from IronRuby and the weird thing is that I have to
add ClassHierarchyLocker.

            var controllerRubyClass =
            string controllerRubyMethodName = null;
            using (rubyContext.ClassHierarchyLocker())
                controllerRubyClass.EnumerateMethods((_, symbolId, __) =>
(String.Equals(symbolId, actionName,


controllerRubyMethodName = symbolId;
                                                             return false;

The question I have here is: Why do I need the ClassHierarchyLocker ?

Cheers Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090130/954c5d15/attachment-0001.html>

More information about the Ironruby-core mailing list