From 6b2677ba83d13739603a0f541e2d5a028fe0283c Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Fri, 12 Jul 2024 05:24:38 -0300 Subject: [PATCH] Fix type signature in docs --- lib/bsd/capsicum.rb | 2 +- lib/bsd/capsicum/ffi.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bsd/capsicum.rb b/lib/bsd/capsicum.rb index bc5af1f..43c5bb7 100644 --- a/lib/bsd/capsicum.rb +++ b/lib/bsd/capsicum.rb @@ -55,7 +55,7 @@ module BSD::Capsicum # Might raise a subclass of SystemCallError # @param [#to_i] io # An IO object - # @param [Array] capabilities + # @param [Array] capabilities # An allowed set of capabilities # @return [Boolean] # Returns true when successful diff --git a/lib/bsd/capsicum/ffi.rb b/lib/bsd/capsicum/ffi.rb index 4c7ca0f..facbf4c 100644 --- a/lib/bsd/capsicum/ffi.rb +++ b/lib/bsd/capsicum/ffi.rb @@ -45,7 +45,7 @@ module BSD::Capsicum # @see BSD::Capsicum::Constants See Constants for a full list of capabilities # @param [Fiddle::Pointer] rightsp # A pointer to initialize the `cap_rights_t` structure - # @param [Array] capabilities + # @param [Array] capabilities # An allowed set of capabilities # @return [Fiddle::Pointer] # Returns a pointer to the structure `cap_rights_t`