Y
Hacker News
new
|
ask
|
show
|
jobs
by
joshmcmillan
1063 days ago
Ruby 3.2 has `Data.define`, which is an even better way of doing this:
https://docs.ruby-lang.org/en/3.2/Data.html
2 comments
nerdponx
1063 days ago
Nice, it's attrs/dataclass from Python.
link
psychoslave
1063 days ago
Awesome, thanks for pointing it.
link