method
validate_arg_string
v8.1.1 -
Show latest stable
- Class:
ActiveStorage::Transformers::ImageMagick
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