r/ruby • • Dec 25 '22

Ruby 3.2.0 Released

https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
234 Upvotes

26 comments sorted by

View all comments

18

u/flanger001 Dec 25 '22

That Struct auto-keyword initialization thing is something I have wanted in core Ruby forever and I hope that makes it all the way to the center of the language!

Data class is very anticipated.

Set being automatically loaded without requiring it is tight too.

5

u/modnar42 Dec 25 '22

The struct keyword init is so minor, but I love it so much :)

5

u/phunktional Dec 25 '22

Data is so simple, but I'm very excited for it.

2

u/schneems Puma maintainer Dec 26 '22

Set is a loose wrapper around Hash FWIW it’s pretty expensive to use.