mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 00:54:01 +02:00
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
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue