Sha256: aa6146e07e7b1cb2c5cff372d9811f3ef87aac74b5ce5b3965deef1b3c705444
Contents?: true
Size: 856 Bytes
Versions: 7
Compression:
Stored size: 856 Bytes
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 module Component # Provides output functionality to the checks via {Arachni::UI::Output}, # prefixing the check name to the output message. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> module Output include UI::Output def depersonalize_output @depersonalize_output = true end def depersonalize_output? @depersonalize_output end def intercept_print_message( message ) depersonalize_output? ? message : "#{self.class.fullname}: #{message}" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems