Class: Textractor::ContentTypeDetector::MimetypeFu
- Inherits:
-
Object
- Object
- Textractor::ContentTypeDetector::MimetypeFu
- Defined in:
- lib/textractor/content_type_detector/mimetype_fu.rb
Class Method Summary collapse
Class Method Details
.content_type_for_path(path) ⇒ Object
5 6 7 |
# File 'lib/textractor/content_type_detector/mimetype_fu.rb', line 5 def self.content_type_for_path(path) File.mime_type?(path) end |