current_server

current_server()
Class Public methods

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.

doc_ruby_on_rails
2015-04-04 13:32:18
Comments
Leave a Comment

Please login to continue.