celluloid/celluloid-io — pull request #28 by sempervictus (2012-11-10 07:30:39+00:00)
Title: Dynamically delegate undelying socket methods

This commit reworks method delegation for TCPSocket, UDPSocket,
and TCPServer.

Previously, methods were statically delegated by the developer.
However, when using the Celluloid::IO sockets as drop-in
replacements for STDLib's sockets, methods are often called by
external components which are not accessible via the wrapper.
To remedy this, delegators are now called in an eval during the
init process providing access to all underlying socket methods
not currently defined for the wrapper object.