Method: MailRoom::Coordinator#run

Defined in:
lib/mail_room/coordinator.rb

#runObject

start each of the watchers to running



18
19
20
21
22
23
24
25
26
# File 'lib/mail_room/coordinator.rb', line 18

def run
  watchers.each(&:run)
  
  self.running = true
  
  sleep_while_running
ensure
  quit
end