View Single Post
Unread 09-02-2008, 01:01 PM   #1
shkaff
Junior Member
 
shkaff's Avatar
 
Join Date: Mar 2008
Posts: 9
Thanks: 2
Thanked 1 Times in 1 Posts
shkaff is on a distinguished road
Question Static variable in Ruby?

Hi there

Is there any approach to store some info in a static variable?
I mean a kind of variable, which keeps their value durring different calls, i.e. doesn't lost the value after execution of the ruby script.

It might be useful to arrange counters for statistic, etc
Counters might be used for call management, for example

Any idea would be appreciated,
Alexey
shkaff is offline