Method: Spring::Watcher::Polling#initialize

Defined in:
lib/spring/watcher/polling.rb

#initialize(root, latency) ⇒ Polling

Returns a new instance of Polling.



8
9
10
11
12
# File 'lib/spring/watcher/polling.rb', line 8

def initialize(root, latency)
  super
  @mtime  = 0
  @poller = nil
end