diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-24 09:37:15 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-24 09:37:15 +0000 |
commit | 1c1c514a678fae819117e07743eceb0c8d431bfd (patch) | |
tree | f5cebbcbae6b68291326d2bf44e8748a9661ea80 /sprintf.c | |
parent | f3244de816f85acbecbd231cbf091cfd6ec1b72a (diff) |
merges r29269 from trunk into ruby_1_9_2.
--
* sprintf.c (rb_f_sprintf): fix rdoc. pointed out by Tomoyuki
Chikanaga at [ruby-core:32395], and a patch from Daniel
Bovensiepen at [ruby-core:32403].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r-- | sprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -425,9 +425,9 @@ get_hash(volatile VALUE *hash, int argc, const VALUE *argv) * %<name>s style uses format style, but %{name} style doesn't. * * Exapmles: - * sprintf("%<foo>d : %<bar>f" % { :foo => 1, :bar => 2 }) + * sprintf("%<foo>d : %<bar>f", { :foo => 1, :bar => 2 }) * #=> 1 : 2.000000 - * sprintf("%{foo}f" % { :foo => 1 }) + * sprintf("%{foo}f", { :foo => 1 }) * # => "1f" */ |