Module: Arachni::Report::Registrar

Included in:
s::AP, s::HTML, s::Stdout
Defined in:
lib/report/registrar.rb

Overview

Arachni::Report::Registrar module

When included into reports it registers them with Arachni::Report::Registry

@author: Anastasios “Zapotek” Laskos

                                     <tasos.laskos@gmail.com>
                                     <zapotek@segfault.gr>

@version: 0.1-pre

See Also:

Class Method Summary (collapse)

Class Method Details

+ (Object) included(report)

Callback invoked whenever Arachni::Report::Registrar is included in another module or class.
It registers the report with the system.



37
38
39
# File 'lib/report/registrar.rb', line 37

def Registrar.included( report )
    Registry.register( report )
end