Ruby - Operators and Expressions
How would you rewrite this nested if-else using a ternary operator?
if temp > 30 status = "Hot" elsif temp > 20 status = "Warm" else status = "Cold" end
