Sha256: b504eb85644810eef2e23c5dfcc0b57f9e8e30cbdd4f8ba7ee81bd06cf7579f9

Contents?: true

Size: 987 Bytes

Versions: 5

Compression:

Stored size: 987 Bytes

Contents

=begin
    Copyright 2010-2022 Ecsypno <http://www.ecsypno.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

module Arachni
module Plugin

# Will be extended by plugin formatters which provide plugin data formatting
# for the reports.
#
# Plugin formatters will be in turn ran by {Arachni::Report::Bas#format_plugin_results}.
#
# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
class Formatter
    include UI::Output

    attr_reader :parent
    attr_reader :report
    attr_reader :results
    attr_reader :description

    def initialize( parent, report, plugin_data )
        @parent       = parent
        @report       = report
        @results      = plugin_data[:results]
        @description  = plugin_data[:description]
    end

    # @abstract
    def run
    end

end

end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 lib/arachni/plugin/formatter.rb
arachni-1.6.1.2 lib/arachni/plugin/formatter.rb
arachni-1.6.1.1 lib/arachni/plugin/formatter.rb
arachni-1.6.1 lib/arachni/plugin/formatter.rb
arachni-1.6.0 lib/arachni/plugin/formatter.rb