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

cleanpath

        # Pathname.cleanpath

(from ruby core)
---
    cleanpath(consider_symlink=false)

---

Returns clean pathname of `self` with consecutive slashes and useless
dots removed.  The filesystem is not accessed.

If `consider_symlink` is `true`, then a more conservative algorithm is
used to avoid breaking symbolic linkages.  This may retain more `..`
entries than absolutely necessary, but without accessing the filesystem,
this can't be avoided.

See Pathname#realpath.



      

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.