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

ipv4?

        # Addrinfo.ipv4?

(from ruby core)
---
    addrinfo.ipv4? => true or false

---

returns true if addrinfo is IPv4 address. returns false otherwise.

    Addrinfo.tcp("127.0.0.1", 80).ipv4? #=> true
    Addrinfo.tcp("::1", 80).ipv4?       #=> false
    Addrinfo.unix("/tmp/sock").ipv4?    #=> false



      

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.