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

int

        # Socket::AncillaryData.int

(from ruby core)
### Implementation from AncillaryData
---
    Socket::AncillaryData.int(family, cmsg_level, cmsg_type, integer) => ancillarydata

---

Creates a new Socket::AncillaryData object which contains a int as data.

The size and endian is dependent on the host.

    require 'socket'

    p Socket::AncillaryData.int(:UNIX, :SOCKET, :RIGHTS, STDERR.fileno)
    #=> #<Socket::AncillaryData: UNIX SOCKET RIGHTS 2>


(from ruby core)
### Implementation from AncillaryData
---
    ancillarydata.int => integer

---

Returns the data in *ancillarydata* as an int.

The size and endian is dependent on the host.

    ancdata = Socket::AncillaryData.int(:UNIX, :SOCKET, :RIGHTS, STDERR.fileno)
    p ancdata.int #=> 2



      

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.