Sha256: 31fd42f922224b510de448b3a37e01df45f518ad2600744ee1db55f629679d3e
Contents?: true
Size: 1.87 KB
Versions: 4
Compression:
Stored size: 1.87 KB
Contents
=begin Copyright 2010-2012 Tasos Laskos <tasos.laskos@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. =end module Arachni module UI # # Provides a blackhole output interface which is loaded when Arachni # is not driven by a UI but being scripted. # # @author Tasos "Zapotek" Laskos <tasos.laskos@gmail.com> # module Output # verbosity flag # # if it's on verbose messages will be enabled @@verbose = false # debug flag # # if it's on debugging messages will be enabled @@debug = false # only_positives flag # # if it's on status messages will be disabled @@only_positives = false @@mute = false def print_error(*) end def print_bad(*) end def print_status(*) end def print_info(*) end def print_ok(*) end def print_debug(*) end def print_debug_pp(*) end def print_debug_backtrace(*) end def print_error_backtrace(*) end def print_verbose(*) end def print_line(*) end def verbose end def verbose? end def debug_on end alias :debug :debug_on def debug_off end def debug? end def only_positives end def disable_only_positives end def only_positives? end def mute end def unmute end def muted? end extend self end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
arachni-0.4.1.3 | lib/arachni/ui/foo/output.rb |
arachni-0.4.1.2 | lib/arachni/ui/foo/output.rb |
arachni-0.4.1.1 | lib/arachni/ui/foo/output.rb |
arachni-0.4.1 | lib/arachni/ui/foo/output.rb |