inspect()
Instance Public methods
Returns a string that represents the StringScanner object, showing:
-
the current position
-
the size of the string
-
the characters surrounding the scan pointer
s = ::new(âFri Dec 12 1975 14:39â) s.inspect # -> '#<StringScanner 0/21 @ âFri Dâ¦â>' s.scan_until /12/ # -> âFri Dec 12â s.inspect # -> '#<StringScanner 10/21 ââ¦ec 12â @ â 1975â¦â>'
Please login to continue.