Right now, the tagline-code-snippet thing on Codebrawl is if ( ready? && set? ) { fight! };
. While this looks nice, this is not valid Ruby code.
So, I'm looking for something better. It should be Ruby, and it should look cool. If you have an idea, please fork the Gist and add it to the list below. Thanks! :)
ready? && set? && fight!
if ( ready? && set? ) then fight! end
( ready? && set? ) ? fight! : nil
fight! if ready? && set?
if (ready? && set?); fight!; end
orif ready? && set?; fight!; end
preserve the intended order - I dislike the semicolons though