diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/scanf.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Dec 3 15:39:21 2015 SHIBATA Hiroshi <[email protected]> + + * lib/scanf.rb: fixed double words typo. + [ci skip][fix GH-1123] Patch by @jwworth + Thu Dec 3 15:37:56 2015 SHIBATA Hiroshi <[email protected]> * test/ruby/test_mixed_unicode_escapes.rb: fixed typo. diff --git a/lib/scanf.rb b/lib/scanf.rb index b6c5287664..d12dc12f55 100644 --- a/lib/scanf.rb +++ b/lib/scanf.rb @@ -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 |