method
method_missing
method_missing(method_symbol, *parameters)
public
Hide source
# File actionmailer/lib/action_mailer/base.rb, line 388 def method_missing(method_symbol, *parameters) #:nodoc: if match = matches_dynamic_method?(method_symbol) case match[1] when 'create' then new(match[2], *parameters).mail when 'deliver' then new(match[2], *parameters).deliver! when 'new' then nil else super end else super end end