Sha256: 7a59ca7b2677204941e445a252347af9571bd946a62e8f2374872a1711554774
Contents?: true
Size: 416 Bytes
Versions: 16
Compression:
Stored size: 416 Bytes
Contents
`Opal.exit = function(status) { callPhantom(['exit', status]); };` STDOUT.write_proc = `function(str){callPhantom(['stdout', str])}` STDERR.write_proc = `function(str){callPhantom(['stderr', str])}` STDOUT.tty = true STDERR.tty = true ARGV += `JSON.parse(callPhantom(['argv']))` %x{ var env = JSON.parse(callPhantom(['env'])); Object.keys(env).forEach(function(key) { #{ENV[`key`] = `env[key]`} }); }
Version data entries
16 entries across 16 versions & 1 rubygems