4 # The God::Server oversees the DRb server which dishes out info on this God daemon.
9 attr_reader :host, :port
11 def initialize(host = nil, port = nil, allow = [])
14 @acl = %w{deny all} + allow.inject([]) { |acc, a| acc + ['allow', a] }
15 puts "Starting on #{@host}:#{@port}"
19 def method_missing(*args, &block)
20 God.send(*args, &block)
29 @drb ||= DRb.start_service("druby://#{@host}:#{@port}", self)