# File lib/active_support/core_ext/string/iterators.rb, line 14 def each_char scanner, char = StringScanner.new(self), /./mu while c = scanner.scan(char) yield c end end