3 ms·
Where "begin" is optional and you can replace both with brackets {}.
by dozzie 9y ago
Where "begin" is optional and you can replace both with brackets {}.
- erikbye 9y agoDon't forget about order of precedence in the case of do/end vs braces. Haven't used Ruby in a while, though, so this might have changed.