⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (257 Bytes)
Bug #4405
ยป threadsys.rb
Recreates the exception from WIN32OLE -
larsch (Lars Christensen)
, 02/17/2011 05:45 PM
require
'drb'
require
'win32ole'
class
Server
def
serve
WIN32OLE
.
connect
(
"winmgmts://localhost/root/cimv2"
)
end
end
server
=
Server
.
new
DRb
.
start_service
(
"druby://:2002"
,
server
)
s
=
DRbObject
.
new
(
nil
,
"druby://localhost:2002"
)
p
s
.
serve
(1-1/1)
Loading...