diff options
Diffstat (limited to 'lib/unicorn/socket_helper.rb')
-rw-r--r-- | lib/unicorn/socket_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/unicorn/socket_helper.rb b/lib/unicorn/socket_helper.rb index 09085e5..9a4266d 100644 --- a/lib/unicorn/socket_helper.rb +++ b/lib/unicorn/socket_helper.rb @@ -136,6 +136,8 @@ module Unicorn end end + module_function :sock_name + # casts a given Socket to be a TCPServer or UNIXServer def server_cast(sock) begin |