method
matches_dynamic_method?
v3.0.0 -
Show latest stable
- Class:
ActionMailer::DeprecatedApi::ClassMethods
matches_dynamic_method?(method_name)private
No documentation available.
# File actionmailer/lib/action_mailer/deprecated_api.rb, line 81
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