Refine Your Ruby Util Objects
For some time now I’ve followed a pattern of using utilities to avoid extending core Ruby objects. While this approach avoids the perils of monkey patching, the experience has always bothered me; it’s not very Ruby-like. Here’s an alternative that uses refinements.
Post a comment