Current Path : /opt/alt/ruby18/share/ri/1.8/system/String/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/String/strip-i.yaml |
--- !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