def notify(subscriber, *data)
      return unless subscriber.respond_to?(MESSAGE)

      subscriber.public_send(MESSAGE, self, *data)
    end
def notify(subscriber, *data)
      return unless subscriber.respond_to?(MESSAGE)

      subscriber.public_send(MESSAGE, self, *data)
    end
Instantiate a new HookEvent object

 @param [Symbol] name
   The action or state name

 @param [Symbol] event_name
   The event name associated with this hook event.

 @example
   HookEvent.new(:green, :move, :green)

 @return [self]

 @api public
 Notify subscriber about this event

 @param [Observer] subscriber
   the object subscribed to be notified about this event

 @param [Array] data
   the data associated with the triggered event

 @return [nil]

 @api public