Cool Method Missing Feature in ruby 1.9

03 Jul 2013

Method missing can be a powerful tool in ruby. An oversimplified way to think about what method missing does for your class. It allows you to jump in when a class doesn't know what to do and is about to start bouncing up the call stack.

Why would you use this in a normal day's usage?

  • to DRY up your code
  • fail gracefully

So check out the details as outlined in this article over on the Thoughtbot blog. :)

David Southard

a ruby guy

Contact Info: