1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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:
marcandre 2018-09-16 02:49:44 +00:00
parent 18fe495902
commit 2521b079fa

View file

@ -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 #=> ""
*/