4 ms·
I'm pretty sure Ruby already does this. if statements are expressions that return a value and return nil if there is no else. (Also 0 == true in Ruby. Only fal
by kayodelycaon 1y ago
I'm pretty sure Ruby already does this. if statements are expressions that return a value and return nil if there is no else.
(Also 0 == true in Ruby. Only false or nil are not true.)