1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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/trunk@29269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-09-15 23:30:46 +00:00
parent afd241f7ee
commit 4f98aa2bcf
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Thu Sep 16 08:30:28 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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].
Thu Sep 16 08:27:36 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> Thu Sep 16 08:27:36 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/etc/extconf.rb: use expanded sysconfdir with empty DESTDIR. * ext/etc/extconf.rb: use expanded sysconfdir with empty DESTDIR.

View file

@ -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. * %<name>s style uses format style, but %{name} style doesn't.
* *
* Exapmles: * Exapmles:
* sprintf("%<foo>d : %<bar>f" % { :foo => 1, :bar => 2 }) * sprintf("%<foo>d : %<bar>f", { :foo => 1, :bar => 2 })
* #=> 1 : 2.000000 * #=> 1 : 2.000000
* sprintf("%{foo}f" % { :foo => 1 }) * sprintf("%{foo}f", { :foo => 1 })
* # => "1f" * # => "1f"
*/ */