MetaRuby - Calling and Receiving Methods
Take a look at one of the more popular facets of metaprogramming today, calling and receiving methods using send
and method_missing
.
We’ll wrap it up with a neat example that implements a jQuery like collection in just a few lines of code.
Post a comment