3 ms·
I mean, that's a horrific piece of Ruby that doesn't do much, and you've not indented it properly. Of course you can get all this down to a single line with ;
by PaulRobinson 1y ago
I mean, that's a horrific piece of Ruby that doesn't do much, and you've not indented it properly.
Of course you can get all this down to a single line with ; demarcation.
And your `.each` could use `{ ... }` syntax, just like C or Java or... you know, everything else.
But sure, whitespace is better, or whatever it is you prefer.