R
Randy Lawrence
Hi,
I'd like to detect if a variable has been defined yet. Is this possible
in Ruby or mod_ruby?
For example, I'd like to do the following:
if $total.exists
$total = $total + 1
else
$total = 0
end
I'd like to detect if a variable has been defined yet. Is this possible
in Ruby or mod_ruby?
For example, I'd like to do the following:
if $total.exists
$total = $total + 1
else
$total = 0
end