til
Ruby: Use `Array(thing)` instead of `thing || []`
I learned something recently. Our code used to be peppered with this:
continue reading »Built with ❤ by Paweł J. Wal in 2023. Hugo helped.
Blog contents, except where otherwise noted, are CC BY-SA 4.0. Code of this blog is MIT.