# File DirectoryWatcher.rb, line 138 def initialize( dir, delay = 10 ) self.directory = dir @autoscan_delay = delay @known_file_stats = {} @onmodify_checks = [ :date ] @onmodify_requiresall = false @onadd_for_existing = true @scanned_once = false @name_regexp = /^[^.].*$/ end