Class: Validb::QueueMonitor

Inherits:
Object
  • Object
show all
Defined in:
lib/validb/queue_monitor.rb

Instance Method Summary collapse

Instance Method Details

#monitorObject



4
5
6
7
8
9
10
11
# File 'lib/validb/queue_monitor.rb', line 4

def monitor
  saved_time = Time.now
  $stdout.print "\nValidating database records"

  wait_for_completion

  $stdout.puts "\nComplete in #{Time.now - saved_time} seconds"
end