* lib/scanf.rb: fixed double words typo.

[ci skip][fix GH-1123] Patch by @jwworth

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2015-12-03 06:39:26 +00:00
parent e1d283847d
commit e2977fc8f3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Dec 3 15:39:21 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* lib/scanf.rb: fixed double words typo.
[ci skip][fix GH-1123] Patch by @jwworth
Thu Dec 3 15:37:56 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* test/ruby/test_mixed_unicode_escapes.rb: fixed typo.

View File

@ -610,7 +610,7 @@ class IO
#
# See Scanf for details on creating a format string.
#
# You will need to require 'scanf' to use use IO#scanf.
# You will need to require 'scanf' to use IO#scanf.
def scanf(str,&b) #:yield: current_match
return block_scanf(str,&b) if b
return [] unless str.size > 0