...

/

Things on the Right go First

Things on the Right go First

Learn about how variable assignment works.

Final remarks

One last thing to note about assignments to variables is that things on the right side go first.

To assign the thing on the right side to the name on the left side, Ruby first needs to interpret what’s on the right. As we’ll see later, the same is true ...