From 2521b079fa462d94a2be3132cff7b4c1e59fdaf2 Mon Sep 17 00:00:00 2001 From: marcandre Date: Sun, 16 Sep 2018 02:49:44 +0000 Subject: [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 --- string.c | 1 + 1 file changed, 1 insertion(+) (limited to 'string.c') 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 #=> "" */ -- cgit v1.2.3