@c = "donal" @b = @c abrakadabra(@b, @c) @c = "mickey" print @b resulted "mickey" Is there something like abrakadabra method in ruby? The only thing I can think to emulate this is using global variable. Thank you.