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

bind

        # Addrinfo.bind

(from ruby core)
---
    bind() { |sock| ... }

---

creates a socket bound to self.

If a block is given, it is called with the socket and the value of the
block is returned. The socket is returned otherwise.

    Addrinfo.udp("0.0.0.0", 9981).bind {|s|
      s.local_address.connect {|s| s.send "hello", 0 }
      p s.recv(10) #=> "hello"
    }



      

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.