experiments/announcepost.rb
author Michael Granger <mgranger@laika.com>
Fri, 05 Sep 2008 23:58:48 +0000
changeset 11 7fc2d1713795
parent 6 66beb495a861
permissions -rw-r--r--
Updated to new build system.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
66beb495a861 Checkpoint commit.
Michael Granger <mgranger@laika.com>
parents:
diff changeset
     1
require 'drb'
66beb495a861 Checkpoint commit.
Michael Granger <mgranger@laika.com>
parents:
diff changeset
     2
DRb.start_service
66beb495a861 Checkpoint commit.
Michael Granger <mgranger@laika.com>
parents:
diff changeset
     3
lists = DRbObject.new( nil, 'druby://localhost:32315' )
66beb495a861 Checkpoint commit.
Michael Granger <mgranger@laika.com>
parents:
diff changeset
     4
l = lists.get_list( 'announce' )
66beb495a861 Checkpoint commit.
Michael Granger <mgranger@laika.com>
parents:
diff changeset
     5
l.last_post
66beb495a861 Checkpoint commit.
Michael Granger <mgranger@laika.com>
parents:
diff changeset
     6