Merge pull request #62 from ksss/global

Should use global variable
This commit is contained in:
Tomoyuki Sahara
2016-08-08 09:38:22 +09:00
committed by GitHub
+5 -5
View File
@@ -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