summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-15 01:33:03 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-15 01:33:03 +0000
commitb73610f18f61a1752b8f474aea9ae62e27280b47 (patch)
treeaee5e58eb07999e68e9d4e9af28506680c13d31d
parentd4cf669da7e01b4d237cddd1f1c0856bd82d1cbb (diff)
minor rdoc typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/scanf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scanf.rb b/lib/scanf.rb
index 4827df1e42..b6c5287664 100644
--- a/lib/scanf.rb
+++ b/lib/scanf.rb
@@ -603,7 +603,7 @@ class IO
# 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]