# File lib/backports/1.9.1/string/codepoints.rb, line 3 def codepoints return to_enum(:codepoints) unless block_given? unpack("U*").each{|cp| yield cp} end