method
method_missing
method_missing(method_symbol, *parameters)
public
Hide source
# File actionmailer/lib/action_mailer/base.rb, line 380 def method_missing(method_symbol, *parameters)#:nodoc: case method_symbol.id2name when /^create_([_a-z]\w*)/ then new($1, *parameters).mail when /^deliver_([_a-z]\w*)/ then new($1, *parameters).deliver! when "new" then nil else super end end