Module: DatabaseStalker

Defined in:
lib/database_stalker.rb,
lib/database_stalker/version.rb

Defined Under Namespace

Classes: Parser

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.start(log_file, table_log_file) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/database_stalker.rb', line 8

def start(log_file, table_log_file)
  clean_up_file(log_file) if File.exist?(log_file)
  Process.fork do
    watch_test_process
    save_stalked_tables(log_file, table_log_file)
  end
end