summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-10-28 22:47:35 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-10-28 22:47:35 -0700
commit509dbf9be8d65e855d0de304442be27b8b60d36b (patch)
tree0f74bff22244e8a71de78d7fb1a937b072b26706
parent4d1a8718bdaea6f2686a2f52795fb3e3794bf448 (diff)
parent83a31f71854dafb02127096e3910d4b08c1e83e8 (diff)
downloadmruby-509dbf9be8d65e855d0de304442be27b8b60d36b.tar.gz
mruby-509dbf9be8d65e855d0de304442be27b8b60d36b.zip
Merge pull request #512 from iij/pr-printf-return-value
IO.printf returns nil on CRuby
-rw-r--r--mrblib/print.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/mrblib/print.rb b/mrblib/print.rb
index 9183f6bb2..68c7837f3 100644
--- a/mrblib/print.rb
+++ b/mrblib/print.rb
@@ -74,6 +74,7 @@ module Kernel
def printf(*args)
__printstr__(sprintf(*args))
+ nil
end
end
end