Is Ruby pass-by-reference or pass-by-value?
As you learn your way through Ruby’s OOP, you will eventually stumble upon the concept of object passing. It might not be very clear if Ruby uses pass-by-reference or pass-by-value to send objects to a method. Read about it here
Post a comment