D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
String
/
Filename :
strip-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of <em>str</em> with leading and trailing whitespace removed. - !ruby/struct:SM::Flow::VERB body: " " hello ".strip #=> "hello"\n "\\tgoodbye\\r\\n".strip #=> "goodbye"\n" full_name: String#strip is_singleton: false name: strip params: | str.strip => new_str visibility: public