[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
This commit is contained in:
parent
18fe495902
commit
2521b079fa
1
string.c
1
string.c
@ -9015,6 +9015,7 @@ 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 #=> ""
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user