Method: CleanUp::Folder#process_file
- Defined in:
- lib/clean_up/folder.rb
#process_file(file) ⇒ Object
42 43 44 45 46 |
# File 'lib/clean_up/folder.rb', line 42 def process_file(file) files_rules.detect do |rule| rule.call(file, target) end end |