method

matches_dynamic_method?

rails latest stable - Class: ActionMailer::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

matches_dynamic_method?(method_name)
private

No documentation available.

# File actionmailer/lib/action_mailer/base.rb, line 441
        def matches_dynamic_method?(method_name) #:nodoc:
          method_name = method_name.to_s
          /^(create|deliver)_([_a-z]\w*)/.match(method_name) || /^(new)$/.match(method_name)
        end