instance method matches_dynamic_method?

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20 Private — implementation detail, not part of the public API

Signature

matches_dynamic_method?(method_name)

No documentation comment.

Parameters

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

Defined in actionmailer/lib/action_mailer/deprecated_api.rb line 80 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionMailer::DeprecatedApi::ClassMethods

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close