method

terminate

ruby latest stable - Class: StringScanner
terminate()
public

Set the scan pointer to the end of the string and clear matching data.