class method
self.method_missing
Ruby on Rails 4.0.13
Since v4.0.13Signature
self.method_missing(method_name, *args)
No documentation comment.
Parameters
-
method_namereq -
argsrest
Source
# File actionmailer/lib/action_mailer/base.rb, line 478
def method_missing(method_name, *args)
if respond_to?(method_name)
new(method_name, *args).message
else
super
end
end
Defined in actionmailer/lib/action_mailer/base.rb line 478
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::Base