method

in_service?

ruby latest stable - Class: GServer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

in_service?(port, host = DEFAULT_HOST)
public

Check if a server is running on the given port and host

port

port, as a Fixnum, of the server to check

host

host on which to find the server to check

Returns true if a server is running on that port and host.