First page Back Continue Last page Overview Graphics


I mentioned earlier that using class= did not allow you to change a string into a hash. But it turns out there is another way to do that with evilr, using the swap method.

Swap completely swaps two ruby objects, so that references to the first object now point to the second object, and vice versa.