method

compute_default

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActionMailer::Base
compute_default(value) private

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 957
      def compute_default(value)
        return value unless value.is_a?(Proc)

        if value.arity == 1
          instance_exec(self, &value)
        else
          instance_exec(&value)
        end
      end
Register or log in to add new notes.