Quantcast
Channel: Comments for End of Line
Viewing all articles
Browse latest Browse all 65

Comment on The Strange Ruby Splat by Jarmo Pertman

$
0
0

It doesn’t. It will splat it, but since plus1 takes only one argument then the array will be passed as is. The code will work the same if you lose the * (and if you actually check your code, then you can see that you didn’t use * anywhere in your code examples).


Viewing all articles
Browse latest Browse all 65

Trending Articles