remove print and puts from kernel.rb

This commit is contained in:
Yukihiro Matsumoto
2012-06-02 00:00:12 +09:00
parent 2d1f303ec2
commit 30556ad921
-25
View File
@@ -56,29 +56,4 @@ module Kernel
yield
end
end
##
# Print arguments
#
# ISO 15.3.1.2.10
def print(*args)
args.each do|x|
if x.nil?
__printstr__ "nil"
else
__printstr__ x.to_s
end
end
end
##
# Print arguments with newline
#
# ISO 15.3.1.2.11
def puts(*args)
args.each do|x|
__printstr__ x.to_s
__printstr__ "\n"
end
end
end