Sha256: c7068583bde0fda4fa2cae59371b7a9d23c1f3cf92261659272f97dcc251fca4

Contents?: true

Size: 216 Bytes

Versions: 7

Compression:

Stored size: 216 Bytes

Contents

module Kernel
  def exit status = 0
    `callPhantom(['exit', status]);`
  end
end

STDOUT.write_proc = `function(str){callPhantom(['stdout', str])}`
STDERR.write_proc = `function(str){callPhantom(['stderr', str])}`

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
opal-0.7.0 stdlib/phantomjs.rb
opal-0.7.0.rc1 stdlib/phantomjs.rb
opal-0.7.0.beta3 stdlib/phantomjs.rb
opal-0.7.0.beta2 stdlib/phantomjs.rb
opal-cj-0.7.0.beta2 stdlib/phantomjs.rb
opal-cj-0.7.0.beta1 stdlib/phantomjs.rb
opal-0.7.0.beta1 stdlib/phantomjs.rb