Ruby assigns almost always variables by reference. The exceptions are: Immediate values are not passed by reference but are passed by value: nil, true, false, Fixnums, Symbols, and some Floats. What does mean assign by reference? When you assign one variable to another both are pointing to the same object in memory. Let’s go to demonstrate…