The standard method would be something like

```
foo = bar(foo)

```

But I'd like some kind of way to simply write

```
bar(foo)

```

That would change the value of `foo` like the first line. In C++ I could do this with pointers, but with Ruby I don't know how to.