Module: RequireProfiler::Plugins::YAMLPlugin::Patch

Defined in:
lib/require_profiler/plugins/yaml_plugin.rb

Instance Method Summary collapse

Instance Method Details

#load_file(path) ⇒ Object



8
9
10
# File 'lib/require_profiler/plugins/yaml_plugin.rb', line 8

def load_file(path, ...)
  YAMLPlugin.track(path) { super }
end

#safe_load_file(path) ⇒ Object



16
17
18
# File 'lib/require_profiler/plugins/yaml_plugin.rb', line 16

def safe_load_file(path, ...)
  YAMLPlugin.track(path) { super }
end

#unsafe_load_file(path) ⇒ Object



12
13
14
# File 'lib/require_profiler/plugins/yaml_plugin.rb', line 12

def unsafe_load_file(path, ...)
  YAMLPlugin.track(path) { super }
end