def process_part(part)
      return if ignore_media?(part.part_type?, part)

      type, file = process_media(part)
      add_file(type, file) unless type.nil? || file.nil?
    end
def process_part(part)
      return if ignore_media?(part.part_type?, part)

      type, file = process_media(part)
      add_file(type, file) unless type.nil? || file.nil?
    end
def process_part ( part ) return if ignore_media? ( part . part_type? , part ) type , file = process_media ( part ) add_file ( type , file ) unless type . nil? || file . nil? end
Helper to decide if a part should be kept or ignored
Helper to decide if a part should be kept or ignored