On 5/24/07, MenTaLguY <[EMAIL PROTECTED]> wrote:
Hi,

I was working on porting my "concurrent" library to latest JRuby, but I was 
unable to get Futures to work because the current dispatch code tries to cast 
IRubyObjects to RubyObjects.

I need to be able to create a class which delegates all of its normal 
IRubyObject stuff to another object, and (from the Ruby side) which does not 
descend from Object.  Is there another way to do this?

As long as we agree that having IRubyObject is a useful abstraction
(and I think that your use case here proves that it is), the offending
code should be fixed to not assume you can always cast IRubyObject to
RubyObject.

/Nick

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to