Module: FiberAudit::Runtime::Probes::Subprocess
- Defined in:
- lib/fiber_audit/runtime/probes/subprocess.rb
Defined Under Namespace
Modules: IOHook, KernelInstanceHook, KernelSingletonHook, Open3Hook, ProcessHook
Class Method Summary collapse
Class Method Details
.install!(registry) ⇒ Object
73 74 75 76 77 78 79 |
# File 'lib/fiber_audit/runtime/probes/subprocess.rb', line 73 def install!(registry) registry.prepend_once(Kernel, KernelInstanceHook) registry.prepend_once(Kernel.singleton_class, KernelSingletonHook) registry.prepend_once(IO.singleton_class, IOHook) registry.prepend_once(Process.singleton_class, ProcessHook) registry.prepend_once(Open3.singleton_class, Open3Hook) if defined?(Open3) end |