Module: Rad::Mailer::MailerController::ClassMethods
- Defined in:
- lib/rad/mailer/_mailer_controller.rb
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &block) ⇒ Object (protected)
10 11 12 13 14 15 16 17 |
# File 'lib/rad/mailer/_mailer_controller.rb', line 10 def method_missing m, *args, &block mail_controller = self.new if mail_controller.respond_to? m build_letter mail_controller, m, *args else super end end |