Module: Arachni::Module::Output

Includes:
UI::Output
Included in:
Base, Trainer, Plugin::Base
Defined in:
lib/module/output.rb

Overview

Provides output functionality to the modules via the UI::Output<br/> prepending the module name to the output message.

@author: Tasos “Zapotek” Laskos

<[email protected]>
<[email protected]>

@version: 0.1

Instance Method Summary collapse

Methods included from UI::Output

#buffer, #debug!, #debug?, #flush_buffer, #mute!, #muted?, #only_positives!, #only_positives?, #print_debug_backtrace, #print_debug_pp, #print_error_backtrace, #reroute_to_file, #reroute_to_file?, #unmute!, #verbose!, #verbose?

Instance Method Details

#o_print_debugObject



33
# File 'lib/module/output.rb', line 33

alias :o_print_debug    :print_debug

#o_print_errorObject



29
# File 'lib/module/output.rb', line 29

alias :o_print_error    :print_error

#o_print_infoObject



31
# File 'lib/module/output.rb', line 31

alias :o_print_info     :print_info

#o_print_lineObject



35
# File 'lib/module/output.rb', line 35

alias :o_print_line     :print_line

#o_print_okObject



32
# File 'lib/module/output.rb', line 32

alias :o_print_ok       :print_ok

#o_print_statusObject



30
# File 'lib/module/output.rb', line 30

alias :o_print_status   :print_status

#o_print_verboseObject



34
# File 'lib/module/output.rb', line 34

alias :o_print_verbose  :print_verbose


53
54
55
# File 'lib/module/output.rb', line 53

def print_debug( str = '' )
    o_print_debug( self.class.info[:name] + ": " + str )
end


37
38
39
# File 'lib/module/output.rb', line 37

def print_error( str = '' )
    o_print_error( self.class.info[:name] + ": " + str )
end


45
46
47
# File 'lib/module/output.rb', line 45

def print_info( str = '' )
    o_print_info( self.class.info[:name] + ": " + str )
end


61
62
63
# File 'lib/module/output.rb', line 61

def print_line( str = '' )
    o_print_line( self.class.info[:name] + ": " + str )
end


49
50
51
# File 'lib/module/output.rb', line 49

def print_ok( str = '' )
    o_print_ok( self.class.info[:name] + ": " + str )
end


41
42
43
# File 'lib/module/output.rb', line 41

def print_status( str = '' )
    o_print_status( self.class.info[:name] + ": " + str )
end


57
58
59
# File 'lib/module/output.rb', line 57

def print_verbose( str = '' )
    o_print_verbose( self.class.info[:name] + ": " + str )
end