Module: Dradis::Plugins::ThorHelper
- Defined in:
 - lib/dradis/plugins/thor_helper.rb
 
Overview
Helper methods for plugin Thor tasks
Instance Attribute Summary collapse
- 
  
    
      #logger  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute logger.
 - 
  
    
      #task_options  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute task_options.
 
Instance Method Summary collapse
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
      5 6 7  | 
    
      # File 'lib/dradis/plugins/thor_helper.rb', line 5 def logger @logger end  | 
  
#task_options ⇒ Object
Returns the value of attribute task_options.
      5 6 7  | 
    
      # File 'lib/dradis/plugins/thor_helper.rb', line 5 def @task_options end  | 
  
Instance Method Details
#detect_and_set_project_scope ⇒ Object
      7 8 9  | 
    
      # File 'lib/dradis/plugins/thor_helper.rb', line 7 def detect_and_set_project_scope [:project_id] = Project.new.id end  |