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