Why not? I mean, rhino has methodNotFound-like thing, so you certainly can.
Re:Snarl - A JavaScript Bridge for JRuby
by bensummers on Monday November 09, 2009 @04:12PM
(#931739)
I meant I looked at the Snarl code, and it wasn't implemented there.
But you are right, it is technically possible.
As for using Javascript from Ruby, it might be quite nice as a language to let your users write extensions and plugins. It's a language where the implementations all have an emphasis on sandboxing.