instance method
matches_dynamic_method?
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20 PrivateSignature
matches_dynamic_method?(method_name)
No documentation comment.
Parameters
-
method_namereq
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