Module: ActiveSupport::Dependencies

Defined in:
lib/benchmark_for_rails/rewatching.rb

Overview

hook into dependency unloading

Class Method Summary collapse

Class Method Details

.clear_with_rewatching(*args, &block) ⇒ Object



24
25
26
27
28
# File 'lib/benchmark_for_rails/rewatching.rb', line 24

def clear_with_rewatching(*args, &block)
  clear_without_rewatching(*args, &block).tap do
    BenchmarkForRails.rewatch!
  end
end