Skip to content

Commit 1b26d83

Browse files
committed
Revert block capture removal
It is part of the benchmark
1 parent 4ad499d commit 1b26d83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/before_block_capture_block_vs_yield.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def yield_n_times(n)
88
before_n_times(n) { yield }
99
end
1010

11-
def capture_block_and_yield_n_times(n)
11+
def capture_block_and_yield_n_times(n, &block) # rubocop:disable Lint/UnusedMethodArgument
1212
before_n_times(n) { yield }
1313
end
1414

0 commit comments

Comments
 (0)