mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user