Ruby 2.5.0 リファレンスマニュアル > ライブラリ一覧 > stringioライブラリ > StringIOクラス > codepoints

instance method StringIO#codepoints

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

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

[SEE_ALSO] IO#each_codepoint