3 ms·
I'd argue that method_missing isn't metaprogramming at all. What about ActiveRecord (Rails' default ORM)? That makes great use of code-writing-code to generate
by cubicle67 14y ago
I'd argue that method_missing isn't metaprogramming at all.
What about ActiveRecord (Rails' default ORM)? That makes great use of code-writing-code to generate a ton of methods on your class all based on db fields.