aboutsummaryrefslogtreecommitdiff
path: root/devel/rubygem-scanf/pkg-descr
blob: 8a97ff15f3f225d135c803bc691024a7459e5cf2 (plain) (blame)
1
2
3
4
5
6
7
8
9
scanf is an implementation of the C function scanf(3), modified as necessary
for Ruby compatibility.

The methods provided are String#scanf, IO#scanf, and Kernel#scanf. Kernel#scanf
is a wrapper around STDIN.scanf. IO#scanf can be used on any IO stream,
including file handles and sockets. scanf can be called either with or without
a block.

WWW: http://rubygems.org/gems/scanf