method

validate_arg_array

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_array(argument)
private

No documentation available.

# File activestorage/lib/active_storage/transformers/image_magick.rb, line 41
        def validate_arg_array(argument)
          argument.each do |arg|
            if arg.is_a?(Integer) || arg.is_a?(Float)
              next
            elsif arg.is_a?(String) || arg.is_a?(Symbol)
              validate_arg_string(arg)
            elsif arg.is_a?(Array)
              validate_arg_array(arg)
            elsif arg.is_a?(Hash)
              validate_arg_hash(arg)
            end
          end
        end