--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns a copy of str with trailing whitespace removed. See also String#lstrip and String#strip.
- !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