method
previewable?
v6.1.7.7 -
Show latest stable
- Class:
ActiveStorage::Blob::Representable
previewable?()public
Returns true if any registered previewer accepts the blob. By default, this will return true for videos and PDF documents.