--- Ola Bini <[EMAIL PROTECTED]> wrote:

> In our case, we could have a part of Kernel look like this:
> 
> module Kernel
>   attach_method "org.jruby.RubyKernel", "new_array", :Array,
> [:object]
>   attach_method "org.jruby.RubyKernel", "new_float", :Float,
> [:object]
> end
> 
> I think that would be much better than our current solution, and also
> 
> easier for third party extension developers.

Nice, that's much better than the earlier ideas of using Java
annotations.

So would you have a lump of Ruby code with this that would be run after
creating the runtime, or have it invoked from the implementing Java
classes somehow?

/Anders


__________________________________________________
Anders Bengtsson              [EMAIL PROTECTED]
Stockholm, Sweden


      __________________________________________________________
Går det långsamt? Skaffa dig en snabbare bredbandsuppkoppling. 
Sök och jämför hos Yahoo! Shopping.
http://shopping.yahoo.se/b/a/c_100015813_bredband.html?partnerId=96914325


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

    http://xircles.codehaus.org/manage_email

Reply via email to