>From inside GlassFish, we call Ruby.evalScriptlet(String) for parsing ruby
code and getting back IRubyObject. Whats the equivalent API to take
InputStream instead of String?

At many times we need to parse the complete Ruby file, such as in case of
rackup script. So instead of reading the file in to String, is there any API
as efficient as evalScript() or better to pass the InputStream instead of
String?

thanks,

-vivek.

Reply via email to