Ruby | StringScanner matched_size function
StringScanner#matched_size() : matched_size() is a StringScanner class method which returns the size of the most recent match Syntax: StringScanner.matched_size()Parameter: StringScanner valuesReturn: the size of the most recent match otherwise return nil Example #1 :Â Ruby # Ruby code for StringSca