scanf for Ruby, v.1.1.1

scanf for Ruby, v.1.1.1

scanf for Ruby is an implementation of the C function scanf(3), modified as necessary for Ruby compatibility.

As shipped, inclusion of the Scanf module provides the methods String#scanf, IO#scanf, and Kernel#scanf. Kernel#scanf is a wrapper around STDIN.scanf

Note: A subtle bug has been discovered in 1.1.1; if you wish,
you can download the older version 1.1.0 here.

scanf for Ruby was developed as the major activity of the Austin, Texas, Ruby Codefest, August 2002.

Principal author:David Alan Black (
Co-author:Hal Fulton (
Project contributors:Nolan Darilek, Jason Johnston

Thanks to Hal Fulton for hosting the Codefest.