1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add DRb::ExtServManager#uri=.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
seki 2004-11-08 14:38:58 +00:00
parent a7b4316a3a
commit 9be05801ea
3 changed files with 14 additions and 3 deletions

View file

@ -4,6 +4,8 @@ require 'drb/extservm'
require 'timeout'
require 'rbconfig'
DRb::DRbServer.new(nil)
class DRbService
@@manager = DRb::ExtServManager.new
@@ruby = File.join(
@ -17,6 +19,7 @@ class DRbService
DRb::ExtServManager.command[nm] = "#{@@ruby} #{@@dir}/#{nm}"
end
@server = @@server = DRb::DRbServer.new(nil, @@manager, {})
@@manager.uri = @@server.uri
def self.manager
@@manager
end