2 ms·
Standard Ruby style is to use { } when the code block is inline or a single liner, and do/end on multi-line blocks. This is only common style though.
by petercooper 18y ago
Standard Ruby style is to use { } when the code block is inline or a single liner, and do/end on multi-line blocks. This is only common style though.