Method: Puppet::Util::FileWatcher#watch
- Defined in:
- lib/puppet/util/file_watcher.rb
#watch(filename) ⇒ Object
16 17 18 19 |
# File 'lib/puppet/util/file_watcher.rb', line 16 def watch(filename) return if watching?(filename) @files[filename] = Puppet::Util::WatchedFile.new(filename) end |