method

pass_transform_argument

rails latest stable - Class: ActiveStorage::Transformers::MiniMagickTransformer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

pass_transform_argument(command, method, argument)
private

No documentation available.

# File activestorage/lib/active_storage/transformers/mini_magick_transformer.rb, line 29
        def pass_transform_argument(command, method, argument)
          if argument == true
            command.public_send(method)
          elsif argument.present?
            command.public_send(method, argument)
          end
        end