Merge pull request #4243 from shuujii/remove-definition-of-sprintf-in-mruby-print

Remove definition of `Kernel#sprintf` in `mruby-print`
This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-01-25 08:15:27 +09:00
committed by GitHub
-3
View File
@@ -52,9 +52,6 @@ module Kernel
def printf(*args)
raise NotImplementedError.new('printf not available')
end
def sprintf(*args)
raise NotImplementedError.new('sprintf not available')
end
else
def printf(*args)
__printstr__(sprintf(*args))