method

format

rails latest stable - Class: ActiveJob::Logging::LogSubscriber

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.

format(arg)
private

No documentation available.

# File activejob/lib/active_job/logging.rb, line 137
          def format(arg)
            case arg
            when Hash
              arg.transform_values { |value| format(value) }
            when Array
              arg.map { |value| format(value) }
            when GlobalID::Identification
              arg.to_global_id rescue arg
            else
              arg
            end
          end