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

bind

        # UDPSocket.bind

(from ruby core)
---
    udpsocket.bind(host, port) #=> 0

---

Binds *udpsocket* to *host*:*port*.

    u1 = UDPSocket.new
    u1.bind("127.0.0.1", 4913)
    u1.send "message-to-self", 0, "127.0.0.1", 4913
    p u1.recvfrom(10) #=> ["message-to", ["AF_INET", 4913, "localhost", "127.0.0.1"]]



      

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.