Module: FiberAudit::Runtime::Probes::Socket::ConstructorHook
- Defined in:
- lib/fiber_audit/runtime/probes/socket.rb
Instance Method Summary collapse
Instance Method Details
#new ⇒ Object
15 16 17 18 19 20 |
# File 'lib/fiber_audit/runtime/probes/socket.rb', line 15 def new(...) operation = Socket.operation_for(self) return super unless operation Registry.observe(operation: operation) { super } end |