# File lib/listen/directory.rb, line 10 def scan _update_record _all_entries.each do |entry_path, data| case data[:type] when 'File' then _async_change(entry_path, options.merge(type: 'File')) when 'Dir' _async_change(entry_path, options.merge(type: 'Dir')) if _recursive_scan?(entry_path) end end end
Generated with the Darkfish Rdoc Generator 2.