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

cmsg_is?

        # Socket::AncillaryData.cmsg_is?

(from ruby core)
### Implementation from AncillaryData
---
    ancillarydata.cmsg_is?(level, type) => true or false

---

tests the level and type of *ancillarydata*.

    ancdata = Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "")
    ancdata.cmsg_is?(Socket::IPPROTO_IPV6, Socket::IPV6_PKTINFO) #=> true
    ancdata.cmsg_is?(:IPV6, :PKTINFO)       #=> true
    ancdata.cmsg_is?(:IP, :PKTINFO)         #=> false
    ancdata.cmsg_is?(:SOCKET, :RIGHTS)      #=> 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.