ruby-changes:52855
From: stomar <ko1@a...>
Date: Sun, 14 Oct 2018 04:02:54 +0900 (JST)
Subject: [ruby-changes:52855] stomar:r65067 (trunk): string.c: small doc improvement
stomar 2018-10-14 04:02:51 +0900 (Sun, 14 Oct 2018) New Revision: 65067 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65067 Log: string.c: small doc improvement * string.c: [DOC] move unaltered case for String#strip to the end, similar to other strip methods. Modified files: trunk/string.c Index: string.c =================================================================== --- string.c (revision 65066) +++ string.c (revision 65067) @@ -9023,8 +9023,8 @@ rb_str_strip_bang(VALUE str) https://github.com/ruby/ruby/blob/trunk/string.c#L9023 * * " hello ".strip #=> "hello" * "\tgoodbye\r\n".strip #=> "goodbye" - * "hello".strip #=> "hello" * "\x00\t\n\v\f\r ".strip #=> "" + * "hello".strip #=> "hello" */ static VALUE -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/