handle_event (God::Task)

    # File lib/god/task.rb, line 363
        def handle_event(condition)
          # lookup metric
          metric = self.directory[condition]

          # log
          messages = self.log_line(self, metric, condition, true)

          # notify
          if condition.notify && self.trigger?(metric, true)
            self.notify(condition, messages.last)
          end

          # get the destination
          dest =
          if condition.transition
            # condition override
            condition.transition
          else
            # regular
            metric.destination && metric.destination[true]
          end

          if dest
            self.move(dest)
          end
        end