DEV Community

Discussion on: Ruby refinements have a second good use case.

Collapse
 
andyobtiva profile image
Andy Maleh • Edited

That is the reason I implemented Ruby Refinements in these libraries:
github.com/AndyObtiva/array_includ...
github.com/AndyObtiva/to_collection

I wanted to provide them as general object/array APIs that could be applied where needed only for safety and namespace pollution prevention reasons.