class Travis::CLI::Monitor

def display(entity, time)

def display(entity, time)
  say [
    color(formatter.time(time), entity.color),
    color(entity.inspect_info, [entity.color, :bold]),
    color(entity.state, entity.color),
    color(entity.commit.subject, entity.color)
  ].join(' ')
  notification.notify(entity.repository.slug, [
    entity.class.name[/[^:]+$/],
    entity.number,
    "#{entity.state}:",
    entity.commit.subject
  ].join(' '))
end