module PaperclipArchiveProcessor::Extractor
Public Class Methods
extractor_for(content_type)
click to toggle source
# File lib/paperclip_archive_processor/extractor.rb, line 7 def self.extractor_for(content_type) case content_type when /zip/ then Zip else raise ExtractorNotFound, "Cannot load extractor for content type '#{content_type}'" end end