mirror of
https://github.com/meineerde/rackstash.git
synced 2025-12-24 16:31:13 +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.