Ruby One Liner If Else Statement

Posted by Weston Ganger

($count == 0) ? "if yes, this string" : "if no, this string"

Article Topic:Software Development - Rails

Date:July 04, 2014

Recommended Posts