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

to_s

        # Addrinfo.to_s

(from ruby core)
---
    to_s()

---

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 method is an alias for Addrinfo#to_sockaddr.)

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.