Refinements – Ruby Monkey-Patching Redifined
Ruby classes are special in many ways. One of the most useful among these specialities is that, in Ruby, all classes are mutable. The ability to change the way classes behave at runtime(aka monkey-patching) has been used by many libraries and frameworks to decorate Ruby’s core classes with additions and/or replacements. But good and evil…