class Previewer
Ruby on Rails 8.0.4
Since v5.2.8.1Active Storage Previewer
This is an abstract base class for previewers, which generate images from blobs. See ActiveStorage::Previewer::MuPDFPreviewer and ActiveStorage::Previewer::VideoPreviewer for examples of concrete subclasses.
Inherits from
Namespace
Classes
Attributes
Methods (defined here)
Private methods
(8)
Implementation detail — not part of the public API.
- # capture
- # download_blob_to_tempfile
- # draw
- # instrument
- # logger
- # open_tempfile
- # service_name
- # tmpdir
Used by
Subclasses (3)
Methods (inherited)
From Object (17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # with
- # with_options
From ActiveSupport::NumericWithFormat (2)
- # to_formatted_s
- # to_fs