Custom string iterators
Yields a single-character string for each character in the string. When $KCODE = 'UTF8', multi-byte characters are yielded appropriately.
# File lib/active_support/core_ext/string/iterators.rb, line 14 def each_char scanner, char = StringScanner.new(self), /./u while c = scanner.scan(char) yield c end end
Generated with the Darkfish Rdoc Generator 2.