method
percent_done
percent_done()
public
Hide source
# File lib/spec/runner/formatter/html_formatter.rb, line 108 def percent_done result = 100.0 if @example_count != 0 result = ((example_number).to_f / @example_count.to_f * 1000).to_i / 10.0 end result end