このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

Ruby 2.5.0 リファレンスマニュアル

instance method StringIO#codepoints

each_codepoint {|codepoint| ... } -> self[permalink][rdoc]
each_codepoint -> Enumerator
codepoints {|codepoint| ... } -> self
codepoints -> Enumerator

自身の各コードポイントに対して繰り返します。

[SEE_ALSO] IO#each_codepoint