Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nauticacom
· 4y ago · 0 comments
This isn't true; Ruby has no set literal. Sets are provided by a default gem but there is no built-in syntax for them.
Comments
[–]
alex_smart
4y ago
Sorry I found this page on Google but did not read the note on top. Looks like it was a proposed feature but was not implemented.
https://dev.to/baweaver/ruby-3-set-literal-3fp9