method
scanf
scanf(fstr,&b)
public
Hide source
# File lib/scanf.rb, line 670 def scanf(fstr,&b) if b block_scanf(fstr,&b) else fs = if fstr.is_a? Scanf::FormatString fstr else Scanf::FormatString.new(fstr) end fs.match(self) end end