define_method - Metaprogramming in Ruby

In this edition, we talk about the ruby metaprogramming tool: define_method for dynamically defining methods on objects. define_method allows you to write very generic classes that automatically add functionality on the fly. Follow along to become even better with metaprogramming in ruby.


Code: https://gist.github.com/cjavdev/b9244e89d26d0dd91a583b61cc275f1b

Presenter:

CJ Avilla - https://twitter.com/cjav_dev