Sha256: 04ef366f590b5328c0d6ee95e4622913dc6fc9b060f71895645e1b4d3c649c20
Contents?: true
Size: 1.31 KB
Versions: 2
Compression:
Stored size: 1.31 KB
Contents
# frozen_string_literal: true # # Copyright (c) 2021-2024 Hal Brodigan (postmodern.mod3 at gmail.com) # # ronin-core is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ronin-core is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with ronin-core. If not, see <https://www.gnu.org/licenses/>. # require 'ronin/core/output_formats/output_file' module Ronin module Core module OutputFormats # # Represents a plain-text list of discovered values. # # @api semipublic # # @since 0.2.0 # class TXT < OutputFile # # Appends a value to the list output stream. # # @param [#to_s] value # The value to append. # # @return [self] # def <<(value) @io.puts(value.to_s) @io.flush return self end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ronin-core-0.2.0 | lib/ronin/core/output_formats/txt.rb |
ronin-core-0.2.0.rc1 | lib/ronin/core/output_formats/txt.rb |