examples/drb_client.rb in blather-0.2.1 vs examples/drb_client.rb in blather-0.2.2
- old
+ new
@@ -1,7 +1,5 @@
-%w[rubygems lib/blather drb/drb].each { |r| require r }
+%w[rubygems lib/blather/client drb/drb].each { |r| require r }
setup 'drb_client@jabber.local', 'drb_client'
-handle :ready do
- DRb.start_service 'druby://localhost:99843', self
-end
+when_ready { DRb.start_service 'druby://localhost:99843', self }