Support for the Ruby 2.1 series ended on March 31 2017. See here for details.
Scans STDIN for data matching format. See IO#scanf for details.
format
See Scanf for details on creating a format string.
You will need to require 'scanf' to use #scanf.
# File scanf.rb, line 773 def scanf(format, &b) #:doc: STDIN.scanf(format ,&b) end
This page was generated for Ruby 2.1.1
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.44.0.