Class: Propshaft::LoadPath::NullFileWatcher
- Inherits:
-
Object
- Object
- Propshaft::LoadPath::NullFileWatcher
- Defined in:
- lib/propshaft/load_path.rb
Overview
:nodoc:
Instance Method Summary collapse
- #execute_if_updated ⇒ Object
-
#initialize(paths, files_to_watch, &block) ⇒ NullFileWatcher
constructor
A new instance of NullFileWatcher.
Constructor Details
#initialize(paths, files_to_watch, &block) ⇒ NullFileWatcher
Returns a new instance of NullFileWatcher.
6 7 8 |
# File 'lib/propshaft/load_path.rb', line 6 def initialize(paths, files_to_watch, &block) @block = block end |
Instance Method Details
#execute_if_updated ⇒ Object
10 11 12 |
# File 'lib/propshaft/load_path.rb', line 10 def execute_if_updated @block.call end |