Using method_missing and respond_to to c...
method_missing and respond_to? are a few of the basic tools for Ruby metaprogramming. Here are some notes about using them to dynamically methods to your objects.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
method_missing and respond_to? are a few of the basic tools for Ruby metaprogramming. Here are some notes about using them to dynamically methods to your objects.
Comments
Whoops… the URL should just be http://technicalpickles.com/posts/using-method_missing-and-respond_to-to-create-dynamic-methods
Looks like you fixed it :)
Post a comment