This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I love it too, because I can understand how ruby evaluates it (I think.) The default argument is evaluated as ruby, but in the same scope as the method, so setting local variables means they're set for the method as well. And the parenthesis make it one expression, which ruby is fine with. And then it uses the return value of that expression for the default value of the