Method: Puppet::Util::Watcher::ChangeWatcher.watch

Defined in:
lib/puppet/util/watcher/change_watcher.rb

.watch(reader) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



6
7
8
# File 'lib/puppet/util/watcher/change_watcher.rb', line 6

def self.watch(reader)
  Puppet::Util::Watcher::ChangeWatcher.new(nil, nil, reader).next_reading
end