Displaying 1 result from an estimated 1 matches for "bool_var".
Did you mean:
bool_val
2014 May 26
0
Class Variables - Static.
Hello,
When setting the class static variables, These are shared across all the
instances created.
Class A
@@bool_var = true
def get_bool_var
@@bool_var
end
end
All the instances will have this static variable,
When through a controller, a user requests, Based on some logic, I set
the value to false.
Is this class static variable be set to false in all the other requests
from other users on a web applic...