Skip to content

Commit

Permalink
Add OutputFormat#close method. (#55)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Postmodern <[email protected]>
  • Loading branch information
AI-Mozi and postmodern authored Aug 30, 2024
1 parent bf38482 commit 9478d68
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/ronin/core/output_formats/output_format.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ def <<(value)
raise(NotImplementedError,"#{self.class}#<< was not implemented")
end

#
# Optional place holder method for closing any output file(s).
#
# @since 0.3.0
#
# @abstract
#
def close
end

end
end
end
Expand Down

0 comments on commit 9478d68

Please sign in to comment.