method

extract_content_type

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Blob
extract_content_type(io) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/app/models/active_storage/blob.rb, line 345
    def extract_content_type(io)
      Marcel::MimeType.for io, name: filename.to_s, declared_type: content_type
    end
Register or log in to add new notes.