From 0bc7db2dc20f6c3aa3372c6086b707353e04cd3c Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Tue, 25 Jun 2024 15:37:43 -0300 Subject: [PATCH] Discourage direct use of FFI by making it a private constant --- lib/bsd/capsicum/ffi.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bsd/capsicum/ffi.rb b/lib/bsd/capsicum/ffi.rb index 9066acb..b9fd324 100644 --- a/lib/bsd/capsicum/ffi.rb +++ b/lib/bsd/capsicum/ffi.rb @@ -64,4 +64,5 @@ module BSD::Capsicum @libc ||= Fiddle.dlopen Dir["/lib/libc.*"].first end end + private_constant :FFI end