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

inspect

        # Range.inspect

(from ruby core)
---
    inspect -> string

---

Returns a string representation of `self`, including `begin.inspect` and
`end.inspect`:

    (1..4).inspect  # => "1..4"
    (1...4).inspect # => "1...4"
    (1..).inspect   # => "1.."
    (..4).inspect   # => "..4"

Note that returns from #to_s and #inspect may differ:

    ('a'..'d').to_s    # => "a..d"
    ('a'..'d').inspect # => "\"a\"..\"d\""

Related: Range#to_s.



      

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.