method

_normalize_text

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ActionController::Rendering
_normalize_text(options) private

No documentation

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

Hide source
# File actionpack/lib/action_controller/metal/rendering.rb, line 108
      def _normalize_text(options)
        RENDER_FORMATS_IN_PRIORITY.each do |format|
          if options.key?(format) && options[format].respond_to?(:to_text)
            options[format] = options[format].to_text
          end
        end
      end
Register or log in to add new notes.