# File lib/mega/timer.rb, line 161 def reset if running? r = stop else r = 0 end @total_time = 0 return r end