3 ms·
You could have the same looks as the regular if, but have it implicitly return a value. I was just too sleep deprived to be able to type out correct syntax on m
by bjoli 8y ago
You could have the same looks as the regular if, but have it implicitly return a value. I was just too sleep deprived to be able to type out correct syntax on my phone.
Ruby returns the last thing in a method, which I feel is pretty sane.