Commit e61bdbe3 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

add printf method

parent ef50e63a
...@@ -47,4 +47,8 @@ module Kernel ...@@ -47,4 +47,8 @@ module Kernel
end end
args[0] args[0]
end end
def printf(*args)
__printstr__(sprintf(*args))
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