Class: Textractor::MimetypeFuContentTypeDetector

Inherits:
Object
  • Object
show all
Defined in:
lib/textractor/mimetype_fu_content_type_detector.rb

Class Method Summary collapse

Class Method Details

.content_type_for_path(path) ⇒ Object



5
6
7
# File 'lib/textractor/mimetype_fu_content_type_detector.rb', line 5

def self.content_type_for_path(path)
  File.mime_type?(path)
end