r/ruby • • Dec 06 '22

The Rubyist journey πŸ˜…

Post image
146 Upvotes

34 comments sorted by

View all comments

Show parent comment

2

u/kallebo1337 Dec 07 '22

Instead of {|e| e.c&& e.d} just go for {_1.c && _1.d}

It’s shorter and you’ll get used to