Class: Crokus::CFGCleaner
- Inherits:
-
Object
- Object
- Crokus::CFGCleaner
- Defined in:
- lib/crokus/cfg_cleaner.rb
Instance Method Summary collapse
Instance Method Details
#clean(cfg) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/crokus/cfg_cleaner.rb', line 5 def clean cfg puts " "*5+"|--[+] cleaning '#{cfg.name}'" unless $options[:mute] @cfg=cfg @visited=[] @new_succs={} clean_rec cfg.starter update rename cfg end |