instance method
analyze_blob_from_io
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
analyze_blob_from_io(io)
No documentation comment.
Parameters
-
ioreq
Source
# File activestorage/app/models/active_storage/attachment.rb, line 173
def analyze_blob_from_io(io)
return if blob.analyzed? || skip_later_analysis?
io.rewind if io.respond_to?(:rewind)
blob.analyze_without_saving
end
Defined in activestorage/app/models/active_storage/attachment.rb line 173
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Attachment