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

to_sockaddr

        # Addrinfo.to_sockaddr

(from ruby core)
---
    addrinfo.to_sockaddr => string
    addrinfo.to_s => string

---

returns the socket address as packed struct sockaddr string.

    Addrinfo.tcp("localhost", 80).to_sockaddr
    #=> "\x02\x00\x00P\x7F\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00"



      

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.