shorts Ruby 3.2.0 Set
22 Dec 2022
In Ruby 3.2.0, Set is now available as a builtin class without the need to use
And if you don't know what a
If you would like to give it a spin, you can do it here: Vulnerability Scanning for your Ruby on Rails app!
require "set"1
And if you don't know what a
Set
is, it is a collection data structure of unordered values without duplicates.
Did you enjoy reading this? Sign up to the Rails Tricks newsletter for more content like this!
Or follow me on Twitter
I run an indie startup providing vulnerability scanning for your Ruby on Rails app.
It is free to use at the moment, and I am grateful for any feedback about it.If you would like to give it a spin, you can do it here: Vulnerability Scanning for your Ruby on Rails app!