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
This commit is contained in:
parent
921dc157d8
commit
ee49d04540
2
string.c
2
string.c
@ -9023,8 +9023,8 @@ rb_str_strip_bang(VALUE str)
|
|||||||
*
|
*
|
||||||
* " hello ".strip #=> "hello"
|
* " hello ".strip #=> "hello"
|
||||||
* "\tgoodbye\r\n".strip #=> "goodbye"
|
* "\tgoodbye\r\n".strip #=> "goodbye"
|
||||||
* "hello".strip #=> "hello"
|
|
||||||
* "\x00\t\n\v\f\r ".strip #=> ""
|
* "\x00\t\n\v\f\r ".strip #=> ""
|
||||||
|
* "hello".strip #=> "hello"
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user