mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
minor rdoc typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d4cf669da7
commit
b73610f18f
1 changed files with 1 additions and 1 deletions
|
@ -603,7 +603,7 @@ class IO
|
||||||
# If a block is given, the value from that is returned from
|
# If a block is given, the value from that is returned from
|
||||||
# the yield is added to an output array.
|
# 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
|
# digit + 100
|
||||||
# end
|
# end
|
||||||
# # => [223, 556]
|
# # => [223, 556]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue