Issue #3829 has been updated by Tomoyuki Chikanaga.


In r29254 documentation for snprintf actually uses String#%.

Index: sprintf.c
===================================================================
--- sprintf.c	(revision 29261)
+++ sprintf.c	(working copy)
@@ -427,7 +427,7 @@
  *  Exapmles:
  *    sprintf("%<foo>d : %<bar>f" % { :foo => 1, :bar => 2 })
  *      #=> 1 : 2.000000
- *    sprintf("%{foo}f" % { :foo => 1 })
+ *    sprintf("%{foo}f", { :foo => 1 })
  *      # => "1f"
  */
 

----------------------------------------
http://redmine.ruby-lang.org/issues/show/3829

----------------------------------------
http://redmine.ruby-lang.org