From f911963f8be2a1fe23b289e309215f9e54d76e2d Mon Sep 17 00:00:00 2001 From: Postmodern Date: Sun, 1 Sep 2024 15:53:20 -0700 Subject: [PATCH] Added missing YARD tags for `OutputFormats::ClassMethods#register`. --- lib/ronin/core/output_formats.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/ronin/core/output_formats.rb b/lib/ronin/core/output_formats.rb index 4ba37e6..792d5f6 100644 --- a/lib/ronin/core/output_formats.rb +++ b/lib/ronin/core/output_formats.rb @@ -65,6 +65,15 @@ def file_exts # # Registers a new output format. # + # @param [Symbol] name + # The output format name. + # + # @param [String] ext + # The file extension associated with the output format. + # + # @param [Class] output_format + # The output format class. + # def register(name,ext,output_format) formats[name] = output_format file_exts[ext] = output_format