Sha256: e9d433eb14dfd752e9b86ff0c252d84621b9841c802b7d04a90fd33ca1e6bea8
Contents?: true
Size: 1.25 KB
Versions: 6
Compression:
Stored size: 1.25 KB
Contents
=begin Copyright 2010-2015 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
6 entries across 6 versions & 1 rubygems