123456789_123456789_123456789_123456789_123456789_

Class: ActiveStorage::Transformers::NullTransformer

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Transformer
Instance Chain:
self, Transformer
Inherits: ActiveStorage::Transformers::Transformer
Defined in: activestorage/lib/active_storage/transformers/null_transformer.rb

Class Method Summary

Transformer - Inherited

Instance Attribute Summary

Instance Method Summary

Transformer - Inherited

#transform

Applies the transformations to the source image in file, producing a target image in the specified format.

#process

Returns an open Tempfile containing a transformed image in the given format.

Constructor Details

This class inherits a constructor from ActiveStorage::Transformers::Transformer

Instance Method Details

#process(file, format:) (private)

[ GitHub ]

  
# File 'activestorage/lib/active_storage/transformers/null_transformer.rb', line 7

def process(file, format:)
  file
end