ruby-changes:29863
From: zzak <ko1@a...>
Date: Thu, 11 Jul 2013 13:49:44 +0900 (JST)
Subject: [ruby-changes:29863] zzak:r41915 (trunk): * sprintf.c: Fix typo patch by @hynkle [Fixes GH-357]
zzak 2013-07-11 13:49:33 +0900 (Thu, 11 Jul 2013) New Revision: 41915 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41915 Log: * sprintf.c: Fix typo patch by @hynkle [Fixes GH-357] https://github.com/ruby/ruby/pull/357 Modified files: trunk/ChangeLog trunk/sprintf.c Index: ChangeLog =================================================================== --- ChangeLog (revision 41914) +++ ChangeLog (revision 41915) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Jul 11 13:48:03 2013 Zachary Scott <e@z...> + + * 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@z...> * lib/securerandom.rb: Refactor conditions by Rafal Chmiel Index: sprintf.c =================================================================== --- sprintf.c (revision 41914) +++ sprintf.c (revision 41915) @@ -401,7 +401,7 @@ get_hash(volatile VALUE *hash, int argc, https://github.com/ruby/ruby/blob/trunk/sprintf.c#L401 * 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 }) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/