Project

General

Profile

Bug #13127 » drb_client_test.rb

DRb client code - mkanoor@redhat.com (Madhu Kanoor), 01/13/2017 06:01 PM

 
require 'drb/drb'
DRb.start_service
remote_object = DRbObject.new_with_uri('druby://localhost:9999')
remote_object.each_with_index do |obj, index|
puts "#{obj.name}"
if index > 5
exit (1)
end
end
(2-2/3)