Method: Bullshit::Case#initialize

Defined in:
lib/bullshit.rb

#initializeCase

Returns a Case instance, that is used to run benchmark methods and measure their running time.



707
708
709
710
711
712
713
# File 'lib/bullshit.rb', line 707

def initialize
  @clocks = []
  if self.class.comparison
    @comparison = Comparison.new
    @comparison.output self.class.output
  end
end