Module: Dradis::Plugins::Thor::ClassMethods
- Defined in:
 - lib/dradis/plugins/thor.rb
 
Instance Method Summary collapse
Instance Method Details
#load_thor_tasks ⇒ Object
      14 15 16 17 18  | 
    
      # File 'lib/dradis/plugins/thor.rb', line 14 def load_thor_tasks plugin_thorfiles.each do |thorfile| require thorfile end end  | 
  
#plugin_thorfiles(args = {}) ⇒ Object
      20 21 22 23 24 25 26  | 
    
      # File 'lib/dradis/plugins/thor.rb', line 20 def plugin_thorfiles(args={}) if paths['dradis/thorfiles'].existent.any? Dir["%s/thorfile.rb" % paths['dradis/thorfiles'].existent] else [] end end  |