method

validate_arg_string

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

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

validate_arg_string(argument)
private

No documentation available.

# File activestorage/lib/active_storage/transformers/image_magick.rb, line 33
        def validate_arg_string(argument)
          unsupported_arguments = ActiveStorage.unsupported_image_processing_arguments.any? do |bad_arg|
            argument.to_s.downcase.include?(bad_arg)
          end

          raise UnsupportedImageProcessingArgument if unsupported_arguments
        end