method

watch

rails latest stable - Class: ActiveSupport::FileWatcher

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

watch(pattern, &block)
public

No documentation available.

# File activesupport/lib/active_support/file_watcher.rb, line 18
    def watch(pattern, &block)
      @regex_matchers[pattern] = block
    end