Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
metacircu1ar
· 1y ago · 0 comments
I write some ruby code for my job to automate some API testing stuff, where I use hash rockets exclusively.
Comments
[–]
caseyohara
1y ago
You should know that using the hash rocket syntax has not been idiomatic Ruby since the new hash syntax was introduced in 2012. Unless your keys are not symbols, there’s no reason to use hash rockets.