Method: Lookbook::FileWatcher#initialize
- Defined in:
- lib/lookbook/file_watcher.rb
#initialize(force_polling: false) ⇒ FileWatcher
Returns a new instance of FileWatcher.
5 6 7 8 |
# File 'lib/lookbook/file_watcher.rb', line 5 def initialize(force_polling: false) @force_polling = force_polling @listeners = [] end |