Remix.run Logo
kayodelycaon 2 days 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.)