diff --git a/pkgs/ruby/lib/kernaux.rb b/pkgs/ruby/lib/kernaux.rb index 0043271..6fc8c87 100644 --- a/pkgs/ruby/lib/kernaux.rb +++ b/pkgs/ruby/lib/kernaux.rb @@ -58,7 +58,7 @@ module KernAux # # @see .panic Implicit file and line - # @!parse [ruby] def assert_do(file, line, msg); end + # @!parse [ruby] if singleton_class.method_defined? :snprintf1 ## @@ -112,6 +112,17 @@ module KernAux ## end + ## + # @!method cmdline(str) + # Parse command line. + # + # @param str [String] command line string + # @return [Array] command line arguments + # + # @raise [CmdlineError] syntax is invalid + + # @!parse [ruby] + ## # Our base class for runtime errors. #