Sha256: 5b9bd799077328b45ad0914531f3bbc4e890bc48030f936cec6feeb41ba9a1fc
Contents?: true
Size: 1.25 KB
Versions: 7
Compression:
Stored size: 1.25 KB
Contents
=begin Copyright 2010-2014 Tasos Laskos <tasos.laskos@arachni-scanner.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 lib = Options.paths.lib require lib + 'component/output' require lib + 'component/utilities' module Component # Base check class to be extended by all components. # # Defines basic structure and provides utilities. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> # @abstract class Base include Arachni # I hate having to keep typing this all the time. include Component::Output include Component::Utilities extend Component::Utilities def shortname self.class.shortname end class <<self def fullname info[:name] end def description info[:description] end def author info[:author] end def version info[:version] end def shortname=( shortname ) @shortname = shortname end def shortname @shortname end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems