Flowdock
method

current_server

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: DRb
current_server() public

Get the ‘current’ server.

In the context of execution taking place within the main thread of a dRuby server (typically, as a result of a remote call on the server or one of its objects), the current server is that server. Otherwise, the current server is the primary server.

If the above rule fails to find a server, a DRbServerNotFound error is raised.

Show source
Register or log in to add new notes.