require'strscan'moduleActiveSupport#:nodoc:moduleCoreExtensions#:nodoc:moduleString#:nodoc:# Custom string iteratorsmoduleIterators# Yields a single-character string for each character in the string.# When $KCODE = 'UTF8', multi-byte characters are yielded appropriately.defeach_charscanner,char=StringScanner.new(self),/./muloop{yield(scanner.scan(char)||break)}endendendendend