summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-print
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-01-25 08:15:27 +0900
committerGitHub <[email protected]>2019-01-25 08:15:27 +0900
commit671447964f8ad494fdde8882007e2cc7e3e11e53 (patch)
tree061699ff47a04442bd93a2051da45e6057f56e16 /mrbgems/mruby-print
parent8eddcbf53dae205f279668cdd4d47180e7a26c73 (diff)
parent1d6679e9d13078b279b81a1241e632540672524c (diff)
downloadmruby-671447964f8ad494fdde8882007e2cc7e3e11e53.tar.gz
mruby-671447964f8ad494fdde8882007e2cc7e3e11e53.zip
Merge pull request #4243 from shuujii/remove-definition-of-sprintf-in-mruby-print
Remove definition of `Kernel#sprintf` in `mruby-print`
Diffstat (limited to 'mrbgems/mruby-print')
-rw-r--r--mrbgems/mruby-print/mrblib/print.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/mrbgems/mruby-print/mrblib/print.rb b/mrbgems/mruby-print/mrblib/print.rb
index fa83c47de..27567d858 100644
--- a/mrbgems/mruby-print/mrblib/print.rb
+++ b/mrbgems/mruby-print/mrblib/print.rb
@@ -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))