>
> Since you've already characterized Ruby classes as method bags, why  
> not consider a Ruby method 1-1 correspondent to Java class from the  
> compiler's point of view?  Local vars in the Ruby method would be  
> stored in a table as a field in the Java class.  Creating a block  
> would be a matter of compiling a new method class and giving it  
> referential access to the containing method's local variable table.
>

It could be pretty easy to have an instance that was stateless  
entirely and pass in the table of vars to a method on a conceptual  
execute(..) invocation. You're right Nick about the 1 generated Java  
class to 1 Ruby method...

- Paul


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to