Commit 7a94d02e authored by Akira Yumiyama's avatar Akira Yumiyama

add IO#print

parent f89ee88a
......@@ -262,6 +262,15 @@ class IO
nil
end
def print(*args)
i = 0
len = args.size
while i < len
write args[i].to_s
i += 1
end
end
def printf(*args)
write sprintf(*args)
nil
......
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