Skip to navigation

Question:
How to shorten if else in ruby

Design for visibility.