Metaprogramming Dynamic Methods: Using Public_send
Metaprogramming is super cool, but it’s also super tough to learn when you’re first starting out. This blog post takes a look at metaprogramming through dynamic method calls, and explains and implements the public_send method in a real-life example of code abstraction.
Comments
Guess most people only know
sendbut notpublic_sendsincesendis used more often by many gems.Post a comment