ライブラリ
- ビルトイン (8)
検索結果
先頭4件
-
String
# each _ codepoint -> Enumerator (15103) -
文字列の各コードポイントに対して繰り返します。
文字列の各コードポイントに対して繰り返します。
#coding:UTF-8
"hello わーるど".codepoints.to_a
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393] -
String
# each _ codepoint {|codepoint| block } -> self (15103) -
文字列の各コードポイントに対して繰り返します。
文字列の各コードポイントに対して繰り返します。
#coding:UTF-8
"hello わーるど".codepoints.to_a
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393] -
String
# codepoints -> Enumerator (3) -
文字列の各コードポイントに対して繰り返します。
文字列の各コードポイントに対して繰り返します。
#coding:UTF-8
"hello わーるど".codepoints.to_a
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393] -
String
# codepoints {|codepoint| block } -> self (3) -
文字列の各コードポイントに対して繰り返します。
文字列の各コードポイントに対して繰り返します。
#coding:UTF-8
"hello わーるど".codepoints.to_a
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393]
