Method: Spring::Watcher::Abstract#initialize
- Defined in:
- lib/spring/watcher/abstract.rb
#initialize(root, latency) ⇒ Abstract
Returns a new instance of Abstract.
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/spring/watcher/abstract.rb', line 17 def initialize(root, latency) super() @root = File.realpath(root) @latency = latency @files = Set.new @directories = Set.new @stale = false @listeners = [] end |