4 ms·
Absolutely! And in the second example, what happens if "property" is 0 ? (My Ruby is rusty)
by gizzlon 14y ago
Absolutely! And in the second example, what happens if "property" is 0 ? (My Ruby is rusty)
- paradoja 14y ago0 evaluates to true in Ruby. Only nil and false evaluate to false in Ruby, so it'd work as intended.