Commit 30556ad9 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

remove print and puts from kernel.rb

parent 2d1f303e
......@@ -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
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