method
scanf
scanf(fstr,&b)
public
Hide source
# File lib/scanf.rb, line 671 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