diff options
Diffstat (limited to 'lib/scanf.rb')
-rw-r--r-- | lib/scanf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/scanf.rb b/lib/scanf.rb index 816bc27221..1662d08e6c 100644 --- a/lib/scanf.rb +++ b/lib/scanf.rb @@ -691,7 +691,7 @@ end module Kernel private - def scanf(fs) - STDIN.scanf(fs) + def scanf(fs,&b) + STDIN.scanf(fs,&b) end end |