diff options
Diffstat (limited to 'ext/socket/option.c')
-rw-r--r-- | ext/socket/option.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c index 4c75fe046d..bf3af171a2 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -272,6 +272,8 @@ sockopt_int(VALUE self) * Creates a new Socket::Option object which contains boolean as data. * Actually 0 or 1 as int is used. * + * require 'socket' + * * p Socket::Option.bool(:INET, :SOCKET, :KEEPALIVE, true) * #=> #<Socket::Option: INET SOCKET KEEPALIVE 1> * |