lib/invoker/event/manager.rb
def trigger(command_label, event_name = nil)
        @trigger_mutex.synchronize do
          triggered_events << OpenStruct.new(
            :command_label => command_label, 
            :event_name => event_name)
        end
      end
# Trigger an event. The event is not triggered immediately, but is just scheduled to be
# triggered.
#
# @param command_label [String] Command for which event should be triggered
# @param event_name [Symbol, nil] The optional event name
Trigger an event. The event is not triggered immediately, but is just scheduled to be
triggered.
Trigger an event . The event is not triggered immediately but is just scheduled to be triggered .
def trigger(command_label, event_name = nil)
        @trigger_mutex.synchronize do
          triggered_events << OpenStruct.new(
            :command_label => command_label, 
            :event_name => event_name)
        end
      end
def trigger ( command_label , event_name = nil ) @trigger_mutex . synchronize do triggered_events << OpenStruct . new ( :command_label => command_label , :event_name => event_name ) end end
Trigger an event.
Trigger an event .
command_label
Command for which event should be triggered
Command for which event should be triggered
event_name
The optional event name
The optional event name