Flowdock
method

int

Importance_1
v1_9_2_180 - Show latest stable - 0 notes - Class: AncillaryData
int() public

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
Show source
Register or log in to add new notes.