In [4]:
puts 'Hello, world!'
In [5]:
$stdout.puts 'stdout'
$stderr.puts 'stderr'
In [10]:
print "print\n"
$stdout.write "write\n"
In [ ]: