method

extract_content_type

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: Blob
extract_content_type(io) private

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 245
    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.