0001-Adding-documentation-for-Benchmark-Tms-memberwise.patch

David Czarnecki, 06/12/2011 12:45 AM

Download (789 Bytes)

View differences:

lib/benchmark.rb
512 512
    end
513 513

  
514 514
    protected
515
    
516
    #
517
    # Returns a new Tms object obtained by memberwise operation _op_  
518
    # of the individual times for this Tms object with those of the other
519
    # Tms object. See #+(), #-(), #*(), #/()
520
    #
515 521
    def memberwise(op, x)
516 522
      case x
517 523
      when Benchmark::Tms
518
-