Sha256: 83e158a46bd563c36e8ff576adeb1b5b50d3ef37c8e8873ef296333de81e91ee
Contents?: true
Size: 564 Bytes
Versions: 17
Compression:
Stored size: 564 Bytes
Contents
system = require 'system' system.stdout.write 'Hello, system.stdout.write!' system.stdout.writeLine '\nHello, system.stdout.writeLine!' system.stderr.write 'Hello, system.stderr.write!' system.stderr.writeLine '\nHello, system.stderr.writeLine!' system.stdout.writeLine 'system.stdin.readLine(): ' line = system.stdin.readLine() system.stdout.writeLine JSON.stringify line # This is essentially a `readAll` system.stdout.writeLine 'system.stdin.read(5): (ctrl+D to end)' input = system.stdin.read 5 system.stdout.writeLine JSON.stringify input phantom.exit 0
Version data entries
17 entries across 17 versions & 2 rubygems