If you want to see a better implementation of a Ruby to JavaScript compiler, have a look at http://www.ntecs.de/projects.html
If you want to see a better implementation of a Ruby to JavaScript compiler, have a look at http://www.ntecs.de/projects.html