class ExecJS::RubyRhinoRuntime::Context
def initialize(runtime, source = "", options = {})
def initialize(runtime, source = "", options = {}) source = source.encode(Encoding::UTF_8) @rhino_context = ::Rhino::Context.new fix_memory_limit! @rhino_context @rhino_context.eval(source) rescue Exception => e raise wrap_error(e) end