method
accept?
v6.0.0 -
Show latest stable
- Class:
ActiveStorage::Previewer::MuPDFPreviewer
accept?(blob)public
No documentation available.
# File activestorage/lib/active_storage/previewer/mupdf_previewer.rb, line 6
def accept?(blob)
blob.content_type == "application/pdf" && mutool_exists?
end