mirror of
https://github.com/meineerde/rackstash.git
synced 2026-03-26 01:51:09 +00:00
This is functionally equivalent. However, the previous behavior resulted in the block being materialized as a proc which is quite expensive, both during materialization as well as when calling it. By using `block_given?`, we can avoid this materialization.