Module: Kernel
Do not use. This module is for internal use only.
| Relationships & Source Files | |
| Defined in: | lib/scanf.rb |
scanf
-
scanf(format, &b)
private
Scans STDIN for data matching
format.
Instance Method Details
scanf(format, &b) (private)
Scans STDIN for data matching format. See IO#scanf for details.
See Scanf for details on creating a format string.
You will need to require 'scanf' to use #scanf.
# File 'lib/scanf.rb', line 773
def scanf(format, &b) #:doc: STDIN.scanf(format ,&b) end