Flowdock
method

compute_default

Importance_0
v5.2.3 - 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 901
      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.