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

accept

        # UNIXServer.accept

(from ruby core)
---
    unixserver.accept => unixsocket

---

Accepts an incoming connection. It returns a new UNIXSocket object.

    UNIXServer.open("/tmp/sock") {|serv|
      UNIXSocket.open("/tmp/sock") {|c|
        s = serv.accept
        s.puts "hi"
        s.close
        p c.read #=> "hi\n"
      }
    }



      

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.