# File lib/rubygame/clock.rb, line 86 def framerate # below is same as: return @ticks / (lifetime / 1000.0) return 1000.0 * @ticks / lifetime rescue ZeroDivisionError return 0 end