In: |
scanf.rb
|
Parent: | Object |
# File scanf.rb, line 665 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