Method: WithLock::Server.run_service

Defined in:
lib/with_lock/server.rb

.run_serviceObject



108
109
110
111
112
# File 'lib/with_lock/server.rb', line 108

def self.run_service
  return if started?
  DRb.start_service(WithLock::Server::url,WithLock::Server)
  DRb.thread.join
end