> local_var = 1
> # some_condition evaluates to true
> meth(local_var)
> 
> local_var == 0            # should evaluate to true

You could pass it as an array
local_var = [1]
meth(local_var) # does local_var[0] = 1
-- 
Posted via http://www.ruby-forum.com/.