Module: ActiveEvent::Domain
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_event/domain.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#initialize(*args) ⇒ Object
12 13 14 15 16 |
# File 'lib/active_event/domain.rb', line 12 def initialize(*args) super # DRb.start_service # should not be necessary self.server = DRbObject.new_with_uri self.class.server_uri end |
#run_command(command) ⇒ Object
18 19 20 |
# File 'lib/active_event/domain.rb', line 18 def run_command(command) server.run_command command end |