Previously we learned about a tool in Ruby’s standard library called un. After some consideration it occurred to me some might wonder, “How does this work?”
Articles about Ruby
Ruby is well known as a language that is easy to use from the surface but is
deep and complex underneath. That’s what we know and love about it.
Its standard library has a similar design and contains hidden gems.
One of the gems I’ve learned about recently is un.
It’s designed to be a command line utility executed directly from ruby. This is
its usage description:
How to Generate Unique Names With a Plain Old Ruby Object
16 November 2023 · Ruby Rails Refactoring Software‑Design
I recently came accross something approximating the following in a
client’s code base.