.bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb
def handle_system_event(event)
      case event
      when ExitEvent
        task(:exit_handler, :method_name => @exit_handler) { handle_exit_event event }
      when LinkingRequest
        event.process(links)
      when NamingRequest
        @name = event.name
      when TerminationRequest
        terminate
      when SignalConditionRequest
        event.call
      end
    end
# Handle high-priority system event messages
Handle high-priority system event messages
Handle high - priority system event messages
def handle_system_event(event)
      case event
      when ExitEvent
        task(:exit_handler, :method_name => @exit_handler) { handle_exit_event event }
      when LinkingRequest
        event.process(links)
      when NamingRequest
        @name = event.name
      when TerminationRequest
        terminate
      when SignalConditionRequest
        event.call
      end
    end
def handle_system_event ( event ) case event when ExitEvent task ( :exit_handler , :method_name => @exit_handler ) { handle_exit_event event } when LinkingRequest event . process ( links ) when NamingRequest @name = event . name when TerminationRequest terminate when SignalConditionRequest event . call end end
Handle high-priority system event messages
Handle high - priority system event messages
event