DEV Community

loading...

Discussion on: Procs vs Callables in Ruby

Collapse
philnash profile image
Phil Nash

Thanks for sharing! I understand that confirming your assumptions didn't lead to a bigger lesson, but this wasn't something I'd thought about before, so I learned something. I'll certainly consider blocks, callables and splats when I have to write anything that needs performance specifically!