Ruby 1.9.2 Reference Manual > All Libraries > Builtin Library > class IO > codepoints
each_codepoint {|c| ... } -> selfcodepoints {|c| ... } -> selfeach_codepoint -> Enumeratorcodepoints -> EnumeratorIO の各コードポイントに対して繰り返しブロックを呼びだします。
ブロックの引数にはコードポイントを表す整数が渡されます。
ブロックを省略した場合には、Enumerator を返します。