mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* sprintf.c: Fix typo patch by @hynkle [Fixes GH-357]
https://github.com/ruby/ruby/pull/357 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
84247a63ce
commit
ed0736ddda
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Jul 11 13:48:03 2013 Zachary Scott <e@zzak.io>
|
||||
|
||||
* sprintf.c: Fix typo patch by @hynkle [Fixes GH-357]
|
||||
https://github.com/ruby/ruby/pull/357
|
||||
|
||||
Thu Jul 11 13:00:34 2013 Zachary Scott <e@zzak.io>
|
||||
|
||||
* lib/securerandom.rb: Refactor conditions by Rafal Chmiel
|
||||
|
|
|
@ -401,7 +401,7 @@ get_hash(volatile VALUE *hash, int argc, const VALUE *argv)
|
|||
* For more complex formatting, Ruby supports a reference by name.
|
||||
* %<name>s style uses format style, but %{name} style doesn't.
|
||||
*
|
||||
* Exapmles:
|
||||
* Examples:
|
||||
* sprintf("%<foo>d : %<bar>f", { :foo => 1, :bar => 2 })
|
||||
* #=> 1 : 2.000000
|
||||
* sprintf("%{foo}f", { :foo => 1 })
|
||||
|
|
Loading…
Reference in a new issue