I have following piece of code:
if day > 31 day -= 31 month = \"April\" end
Can I write it in one line different than:
(day -= 31; month = "April") if day > 31
Alternate way (As suggested by @mudasobwa in comments below) :
day, month = day - 31, "April" if day > 31