Ruby: add doc comments

This commit is contained in:
Alex Kotov 2022-01-30 17:11:20 +05:00
parent ca0247b47a
commit 3fc0e8f0b4
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 12 additions and 1 deletions

View File

@ -58,7 +58,7 @@ module KernAux
# #
# @see .panic Implicit file and line # @see .panic Implicit file and line
# @!parse [ruby] def assert_do(file, line, msg); end # @!parse [ruby]
if singleton_class.method_defined? :snprintf1 if singleton_class.method_defined? :snprintf1
## ##
@ -112,6 +112,17 @@ module KernAux
## ##
end end
##
# @!method cmdline(str)
# Parse command line.
#
# @param str [String] command line string
# @return [Array<String>] command line arguments
#
# @raise [CmdlineError] syntax is invalid
# @!parse [ruby]
## ##
# Our base class for runtime errors. # Our base class for runtime errors.
# #