module ActiveEvent::Domain::ClassMethods

Attributes

server_uri[RW]

Public Class Methods

extended(base) click to toggle source
# File lib/active_event/domain.rb, line 46
def self.extended(base)
  base.server_uri = 'druby://127.0.0.1:8787'
end

Public Instance Methods

run_command(command) click to toggle source
# File lib/active_event/domain.rb, line 40
def run_command(command)
  instance.run_command command
end
set_config(protocol = 'druby', host = 'localhost', port = 8787) click to toggle source
# File lib/active_event/domain.rb, line 50
def set_config(protocol = 'druby', host = 'localhost', port = 8787)
  self.server_uri = "#{protocol}://#{host}:#{port}"
end