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 772 def scanf(format, &b) #:doc: STDIN.scanf(format ,&b) end
This page was generated for Ruby 2.6.3
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.42.0.