1
0
mirror of https://github.com/meineerde/rackstash.git synced 2025-12-24 16:31:13 +00:00
Holger Just 0edcce37c7 Use yield instead of to_proc in Hash#merge
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.
2017-03-28 20:05:23 +02:00
..
2017-02-02 23:55:02 +01:00