10 points · by jlecour · 16y ago · 0 comments
No comments yet.
Assignment-like methods and the returned value (in Ruby)
An assignment-like method in Ruby always return the Right-Hand Side of the method (the parameter) and never the result of the method. I’ve learnt this the hard way.
Jérémy Lecour