add printf method

This commit is contained in:
Yukihiro Matsumoto
2012-06-20 20:45:04 +09:00
parent ef50e63a63
commit e61bdbe396
+4
View File
@@ -47,4 +47,8 @@ module Kernel
end
args[0]
end
def printf(*args)
__printstr__(sprintf(*args))
end
end