Fix type signature in docs

This commit is contained in:
0x1eef 2024-07-12 05:24:38 -03:00
parent 8fee5d4b36
commit 6b2677ba83
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ module BSD::Capsicum
# Might raise a subclass of SystemCallError
# @param [#to_i] io
# An IO object
# @param [Array<String>] capabilities
# @param [Array<Symbol, Integer>] capabilities
# An allowed set of capabilities
# @return [Boolean]
# Returns true when successful

View file

@ -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<Integer>] capabilities
# @param [Array<Symbol, Integer>] capabilities
# An allowed set of capabilities
# @return [Fiddle::Pointer]
# Returns a pointer to the structure `cap_rights_t`