Method: ElasticAPM::Spies.register_require_hook
- Defined in:
- lib/elastic_apm/spies.rb
.register_require_hook(registration) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
79 80 81 82 83 |
# File 'lib/elastic_apm/spies.rb', line 79 def self.register_require_hook(registration) registration.require_paths.each do |path| require_hooks[path] = registration end end |