DEV Community

Discussion on: Metaprogramming in ruby

Collapse
 
cherryramatis profile image
Cherry Ramatis

It's a pleasure to share knowledge with the community ❤️ thanks <3

I used the hook pattern once to control observability on some specific objects, that way I could send interesting information upon object creation. Metaprogramming is both a very dangerous and beautiful feature of ruby!