summaryrefslogtreecommitdiff
path: root/doc/string/chop.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/string/chop.rdoc')
-rw-r--r--doc/string/chop.rdoc2
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/string/chop.rdoc b/doc/string/chop.rdoc
index 2c48e91129..d818ba467a 100644
--- a/doc/string/chop.rdoc
+++ b/doc/string/chop.rdoc
@@ -3,13 +3,11 @@ Returns a new string copied from +self+, with trailing characters possibly remov
Removes <tt>"\r\n"</tt> if those are the last two characters.
"abc\r\n".chop # => "abc"
- "тест\r\n".chop # => "тест"
"こんにちは\r\n".chop # => "こんにちは"
Otherwise removes the last character if it exists.
'abcd'.chop # => "abc"
- 'тест'.chop # => "тес"
'こんにちは'.chop # => "こんにち"
''.chop # => ""