Skip to content

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#-

-(other)

Returns a new Tms object obtained by memberwise subtraction of the individual times for the other Tms object from those of this Tms object.

See also #+ #/ #* #add also in 3.4 · 3.3 · 3.2 · 3.0