diff options
Diffstat (limited to 'doc/string/each_byte.rdoc')
| -rw-r--r-- | doc/string/each_byte.rdoc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/string/each_byte.rdoc b/doc/string/each_byte.rdoc index 1f1069863b..642d71e84b 100644 --- a/doc/string/each_byte.rdoc +++ b/doc/string/each_byte.rdoc @@ -5,9 +5,6 @@ returns +self+: 'hello'.each_byte {|byte| a.push(byte) } # Five 1-byte characters. a # => [104, 101, 108, 108, 111] a = [] - 'тест'.each_byte {|byte| a.push(byte) } # Four 2-byte characters. - a # => [209, 130, 208, 181, 209, 129, 209, 130] - a = [] 'こんにちは'.each_byte {|byte| a.push(byte) } # Five 3-byte characters. a # => [227, 129, 147, 227, 130, 147, 227, 129, 171, 227, 129, 161, 227, 129, 175] |
