4/20 One Good Turn Deserves a Ternary


#1

This will works also!

Example: speed > 55 ? puts("I can't drive 55!") : puts("I'm a careful driver")

http://alvinalexander.com/blog/post/ruby/examples-ruby-ternary-operator-true-false-syntax