Project

General

Profile

Bug #4873 ยป 0001-Adding-documentation-for-Benchmark-Tms-memberwise.patch

czarneckid (David Czarnecki), 06/12/2011 12:45 AM

View differences:

lib/benchmark.rb
end
protected
#
# Returns a new Tms object obtained by memberwise operation _op_
# of the individual times for this Tms object with those of the other
# Tms object. See #+(), #-(), #*(), #/()
#
def memberwise(op, x)
case x
when Benchmark::Tms
    (1-1/1)