End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Benchmark::Tms#add
add() { || ... }
lib/benchmark.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/benchmark.rb, line 439
def add(&blk) # :yield:
self + Benchmark.measure(&blk)
end