Module: Arachni::Element::Capabilities::WithAuditor
- Includes:
 - Output
 
- Defined in:
 - lib/arachni/element/capabilities/with_auditor.rb,
lib/arachni/element/capabilities/with_auditor/output.rb 
Overview
Defined Under Namespace
Modules: Output
Instance Attribute Summary collapse
- 
  
    
      #auditor  ⇒ Arachni::Check::Auditor 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Sets the auditor for this element.
 
Instance Method Summary collapse
- #dup ⇒ Object
 - #marshal_dump ⇒ Object
 - 
  
    
      #orphan?  ⇒ Bool 
    
    
  
  
  
  
  
  
  
  
  
    
`true` if it has no auditor, `false` otherwise.
 - 
  
    
      #prepare_for_report  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Removes the associated #auditor.
 - 
  
    
      #remove_auditor  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Removes the #auditor from this element.
 
Instance Attribute Details
#auditor ⇒ Arachni::Check::Auditor
Sets the auditor for this element.
The auditor provides its output, HTTP and issue logging interfaces.
      23 24 25  | 
    
      # File 'lib/arachni/element/capabilities/with_auditor.rb', line 23 def auditor @auditor end  | 
  
Instance Method Details
#dup ⇒ Object
      42 43 44  | 
    
      # File 'lib/arachni/element/capabilities/with_auditor.rb', line 42 def dup copy_with_auditor( super ) end  | 
  
#marshal_dump ⇒ Object
      46 47 48  | 
    
      # File 'lib/arachni/element/capabilities/with_auditor.rb', line 46 def marshal_dump super.tap { |h| h.delete :@auditor } end  | 
  
#orphan? ⇒ Bool
Returns `true` if it has no auditor, `false` otherwise.
      38 39 40  | 
    
      # File 'lib/arachni/element/capabilities/with_auditor.rb', line 38 def orphan? !auditor end  |