summaryrefslogtreecommitdiff
path: root/doc/string/split.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/string/split.rdoc')
-rw-r--r--doc/string/split.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/string/split.rdoc b/doc/string/split.rdoc
index 8679149003..dc6292d182 100644
--- a/doc/string/split.rdoc
+++ b/doc/string/split.rdoc
@@ -68,7 +68,7 @@ and trailing empty strings are included:
When +limit+ is negative,
there is no limit on the size of the array,
-and trailing empty strings are omitted:
+and trailing empty strings are included:
'abracadabra'.split('', -1) # => ["a", "b", "r", "a", "c", "a", "d", "a", "b", "r", "a", ""]
'abracadabra'.split('a', -1) # => ["", "br", "c", "d", "br", ""]