Skip to content

Commit

Permalink
Added missing YARD tags for OutputFormats::ClassMethods#register.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Sep 1, 2024
1 parent c5b9a63 commit f911963
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/ronin/core/output_formats.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f911963

Please sign in to comment.