# File lib/execjs/ruby_rhino_runtime.rb, line 4 def initialize(source = "") source = source.encode('UTF-8') if source.respond_to?(:encode) @rhino_context = ::Rhino::Context.new fix_memory_limit! @rhino_context @rhino_context.eval(source) end