class ExecJS::ExternalRuntime::Context

def write_to_tempfile(contents)

def write_to_tempfile(contents)
  tmpfile = create_tempfile(['execjs', 'js'])
  tmpfile.write(contents)
  tmpfile.close
  tmpfile
end