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

addr

        # UNIXSocket.addr

(from ruby core)
---
    unixsocket.addr => [address_family, unix_path]

---

Returns the local address as an array which contains address_family and
unix_path.

Example
    serv = UNIXServer.new("/tmp/sock")
    p serv.addr #=> ["AF_UNIX", "/tmp/sock"]



      

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.