Enable RedundantBlockCall Cop
Also fix all instances detected by the cop.
Replace block.call
with yield
.
Per https://github.com/JuanitoFatas/fast-ruby#proccall-and-block-arguments-vs-yieldcode, this can be 4x as fast.
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Also fix all instances detected by the cop.
Replace block.call
with yield
.
Per https://github.com/JuanitoFatas/fast-ruby#proccall-and-block-arguments-vs-yieldcode, this can be 4x as fast.