What's the Ruby way of achieving pass-by-reference for numbers, as in 
the C code

void foo (int* x)
{

}

-- 
Posted via http://www.ruby-forum.com/.