RubyFlow The Ruby and Rails community linklog

A Rubyist’s Beautiful Mistress: method_missing

There are a lot of misuses of method_missing floating around out there. I wrote a post explaining when to use method_missing (and when NOT to): A Rubyist’s Beautiful Mistress: method_missing.

method_missing is a beautiful mistress, and define_method is your faithful companion. I’m not saying, don’t use method_missing, just be careful and do it right.

Comments

very very nice! Thank you!!

found this useful, thank you..

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in