diff options
Diffstat (limited to 'doc/string/chars.rdoc')
| -rw-r--r-- | doc/string/chars.rdoc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/string/chars.rdoc b/doc/string/chars.rdoc index d24a1cc3a9..47fb01b43a 100644 --- a/doc/string/chars.rdoc +++ b/doc/string/chars.rdoc @@ -1,5 +1,7 @@ Returns an array of the characters in +self+: 'hello'.chars # => ["h", "e", "l", "l", "o"] - 'тест'.chars # => ["т", "е", "с", "т"] 'こんにちは'.chars # => ["こ", "ん", "に", "ち", "は"] + ''.chars # => [] + +Related: see {Converting to Non-String}[rdoc-ref:String@Converting+to+Non-String]. |
