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

path

        # File.path

(from ruby core)
---
    File.path(path)  ->  string

---

Returns the string representation of the path

    File.path("/dev/null")          #=> "/dev/null"
    File.path(Pathname.new("/tmp")) #=> "/tmp"


(from ruby core)
---
    file.path  ->  filename
    file.to_path  ->  filename

---

Returns the pathname used to create *file* as a string. Does not
normalize the name.

The pathname may not point to the file corresponding to *file*. For
instance, the pathname becomes void when the file has been moved or
deleted.

This method raises IOError for a *file* created using
File::Constants::TMPFILE because they don't have a pathname.

    File.new("testfile").path               #=> "testfile"
    File.new("/tmp/../tmp/xxx", "w").path   #=> "/tmp/../tmp/xxx"



      

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.