summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-16 02:49:44 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-16 02:49:44 +0000
commit2521b079fa462d94a2be3132cff7b4c1e59fdaf2 (patch)
tree036e2b0502b3eaa68a96db9045a38cbdef912eb5 /string.c
parent18fe49590218acd408caabfe271da09f25cb2e68 (diff)
[DOC] Improve String#strip documentation.
Patch by Josh Goldberg. [Fix GH-1933] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/string.c b/string.c
index 0ce8c40ecb..b3dba9c76f 100644
--- a/string.c
+++ b/string.c
@@ -9015,6 +9015,7 @@ rb_str_strip_bang(VALUE str)
*
* " hello ".strip #=> "hello"
* "\tgoodbye\r\n".strip #=> "goodbye"
+ * "hello".strip #=> "hello"
* "\x00\t\n\v\f\r ".strip #=> ""
*/