Clean Module Injection in Ruby
Monkeypatching is an ugly, ugly thing. Modifying a class at runtime is, at best, a necessary evil. More often than not, it leads to code that is difficult to debug, messy (where do you.
Clean Module Injection in Ruby #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/clean-module-injection-in-ruby