This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

rstrip

        # String.rstrip

(from ruby core)
---
    str.rstrip   -> new_str

---

Returns a copy of the receiver with trailing whitespace removed. See
also String#lstrip and String#strip.

Refer to String#strip for the definition of whitespace.

    "  hello  ".rstrip   #=> "  hello"
    "hello".rstrip       #=> "hello"



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.