module Busted::Countable

Attributes

counter[R]
report[W]

Public Instance Methods

finish_counter() click to toggle source
# File lib/busted/countable.rb, line 13
def finish_counter
  counter.finish

  report[:invalidations] = counter.report
end
start_counter() click to toggle source
# File lib/busted/countable.rb, line 7
def start_counter
  @counter ||= Counter.new

  counter.start
end