diff --git a/lib/capsicum.rb b/lib/capsicum.rb index c38b4b9..7a66e03 100644 --- a/lib/capsicum.rb +++ b/lib/capsicum.rb @@ -1,9 +1,7 @@ # frozen_string_literal: true -require "capsicum/version" -require "fiddle" - module Capsicum + require_relative "capsicum/version" require_relative "capsicum/libc" module_function diff --git a/lib/capsicum/libc.rb b/lib/capsicum/libc.rb index 1db2faa..a4a7178 100644 --- a/lib/capsicum/libc.rb +++ b/lib/capsicum/libc.rb @@ -1,5 +1,6 @@ # @api private module Capsicum::LibC + require "fiddle" module_function ##