Module: TurboRex::Utils
- Included in:
- TurboRex
- Defined in:
- lib/turborex/utils.rb
Defined Under Namespace
Modules: COMApiBacktraceHelper, DisassemblerHelper
Class Method Summary collapse
Class Method Details
.get_all_subdir(root_path) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/turborex/utils.rb', line 5 def self.get_all_subdir(root_path) require 'find' paths = [] Find.find(root_path) do |path| if FileTest.directory?(path) if File.basename(path)[0] == '.' Find.prune else paths << path end end end paths end |