Module: RailsDevelopmentBoost::DependenciesPatch::InstrumentationPatch::LoadedFile::ClassMethods

Includes:
Instrumenter
Defined in:
lib/rails_development_boost/dependencies_patch/instrumentation_patch.rb

Instance Method Summary collapse

Methods included from Instrumenter

included

Instance Method Details

#unload_containing_file_with_instrumentation(const_name, file) ⇒ Object



72
73
74
75
# File 'lib/rails_development_boost/dependencies_patch/instrumentation_patch.rb', line 72

def unload_containing_file_with_instrumentation(const_name, file)
  boost_log('UNLOAD_CONTAINING_FILE', "#{const_name} -> #{file.boost_inspect}")
  unload_containing_file_without_instrumentation(const_name, file)
end

#unload_modified_with_instrumentation!Object



65
66
67
68
69
70
# File 'lib/rails_development_boost/dependencies_patch/instrumentation_patch.rb', line 65

def unload_modified_with_instrumentation!
  boost_log('--- START ---')
  unload_modified_without_instrumentation!.tap do
    boost_log('--- END ---')
  end
end