Ruby 1.9.2 リファレンスマニュアル
>
ライブラリ一覧
>
scanfライブラリ
>
Scanf::FormatStringクラス
> new
singleton method Scanf::FormatString.new
new(str)