summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-13 19:02:51 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-13 19:02:51 +0000
commitee49d04540fc177062e3b27a042a8504d083fbb7 (patch)
treef8011688203faeb6ec7f8f5f394d3764bb14b9e9 /string.c
parent921dc157d8d88365c0715851fb3c344d247247dd (diff)
string.c: small doc improvement
* string.c: [DOC] move unaltered case for String#strip to the end, similar to other strip methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index a4fd51cac1..60cb5542ce 100644
--- a/string.c
+++ b/string.c
@@ -9023,8 +9023,8 @@ rb_str_strip_bang(VALUE str)
*
* " hello ".strip #=> "hello"
* "\tgoodbye\r\n".strip #=> "goodbye"
- * "hello".strip #=> "hello"
* "\x00\t\n\v\f\r ".strip #=> ""
+ * "hello".strip #=> "hello"
*/
static VALUE