#!/usr/bin/env ruby -w # simple_client.rb # A simple DRb client # from http://segment7.net/projects/ruby/drb/introduction.html require 'drb' DRb.start_service # attach to the DRb server via a URI given on the command line remote_array = DRbObject.new nil, ARGV.shift print remote_array puts remote_array << 1 print remote_array puts