Commit 9ccf03e5 authored by Tomoyuki Sahara's avatar Tomoyuki Sahara Committed by GitHub

Merge pull request #62 from ksss/global

Should use global variable
parents 93d481d4 4cac5e9c
......@@ -380,22 +380,22 @@ $stderr = STDERR
module Kernel
def print(*args)
STDOUT.print(*args)
$stdout.print(*args)
end
def puts(*args)
STDOUT.puts(*args)
$stdout.puts(*args)
end
def printf(*args)
STDOUT.printf(*args)
$stdout.printf(*args)
end
def gets(*args)
STDIN.gets(*args)
$stdin.gets(*args)
end
def getc(*args)
STDIN.getc(*args)
$stdin.getc(*args)
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment