Posts by kim pastro • 26 points
1 post
-
1
votes1
answer32
viewsA: Function does not modify variable value
Classic problem of "parameters by reference or value". In ruby the function parameters are passed by reference, but when you do an assignment on that variable ruby creates a new variable with…