Flowdock
method

format

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: LogSubscriber
format(arg) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/log_subscriber.rb, line 117
      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
Register or log in to add new notes.