[前][次][番号順一覧][スレッド一覧]

ruby-changes:32882

From: ryan <ko1@a...>
Date: Sat, 15 Feb 2014 10:33:08 +0900 (JST)
Subject: [ruby-changes:32882] ryan:r44961 (trunk): minor rdoc typo

ryan	2014-02-15 10:33:03 +0900 (Sat, 15 Feb 2014)

  New Revision: 44961

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44961

  Log:
    minor rdoc typo

  Modified files:
    trunk/lib/scanf.rb
Index: lib/scanf.rb
===================================================================
--- lib/scanf.rb	(revision 44960)
+++ lib/scanf.rb	(revision 44961)
@@ -603,7 +603,7 @@ class IO https://github.com/ruby/ruby/blob/trunk/lib/scanf.rb#L603
   # If a block is given, the value from that is returned from
   # the yield is added to an output array.
   #
-  #   "123 456".block_scanf("%d) do |digit,| # the ',' unpacks the Array
+  #   "123 456".block_scanf("%d") do |digit,| # the ',' unpacks the Array
   #     digit + 100
   #   end
   #   # => [223, 556]

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]