Flowdock
method

[]=

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActionMailer::Base::DeprecatedHeaderProxy
[]=(key, value) public

No documentation

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

Hide source
# File actionmailer/lib/action_mailer/base.rb, line 454
      def []=(key, value)
        unless value.is_a?(::String)
          ::ActiveSupport::Deprecation.warn("Using a non-String object for a header's value is deprecated. " \
            "You specified #{value.inspect} (a #{value.class}) for #{key}", caller)

          value = value.to_s
        end

        @message[key] = value
      end
Register or log in to add new notes.