> You don't need global variables.
>
> total = 0
> 5.times do
> total += 1
> end

Unless you want your snippet to have side effects. Which is unlikely,
since the method is called at_exit. Anyway, you are assigning the
variables new values, so you can use local ones instead.


__________________________________________

Dictionary is the only place that success comes before work. - Vince
Lombardi