method

unfurl

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: Blob
unfurl(io, identify: true) 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 245
  def unfurl(io, identify: true) #:nodoc:
    self.checksum     = compute_checksum_in_chunks(io)
    self.content_type = extract_content_type(io) if content_type.nil? || identify
    self.byte_size    = io.size
    self.identified   = true
  end
Register or log in to add new notes.