123456789_123456789_123456789_123456789_123456789_

Module: Kernel

Do not use. This module is for internal use only.
Relationships & Source Files
Defined in: lib/scanf.rb

scanf

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.

[ GitHub ]

  
# File 'lib/scanf.rb', line 773

def scanf(format, &b) #:doc:
  STDIN.scanf(format ,&b)
end