Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/String/rstrip-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns a copy of <em>str</em> with trailing whitespace removed. See also <tt>String#lstrip</tt> and <tt>String#strip</tt>.
- !ruby/struct:SM::Flow::VERB
body: " " hello ".rstrip #=> " hello"\n "hello".rstrip #=> "hello"\n"
full_name: String#rstrip
is_singleton: false
name: rstrip
params: |
str.rstrip => new_str
visibility: public