# File lib/backports/1.8.7/string/each_char.rb, line 6 def each_char return to_enum(:each_char) unless block_given? scan(/./m) {|c| yield c} end