# File lib/mspec/runner/actions/timer.rb, line 15 def elapsed @stop - @start end
# File lib/mspec/runner/actions/timer.rb, line 11 def finish @stop = Time.now end
# File lib/mspec/runner/actions/timer.rb, line 19 def format "Finished in %f seconds" % elapsed end
# File lib/mspec/runner/actions/timer.rb, line 2 def register MSpec.register :start, self MSpec.register :finish, self end
# File lib/mspec/runner/actions/timer.rb, line 7 def start @start = Time.now end