# File lib/execjs/ruby_rhino_runtime.rb, line 34 def call(properties, *args) unbox @rhino_context.eval(properties).call(*args) rescue ::Rhino::JavascriptError => e if e.message == "syntax error" raise RuntimeError, e.message else raise ProgramError, e.message end end