re: Idiomatic Ruby: writing beautiful code VIEW POST

FULL DISCUSSION
 

you can as example a programatic lambda

lambda = ->(user) { user.id == 1 }
users.each(&lambda)
code of conduct - report abuse