Skip to navigation

Question:
How to shorten if else in ruby

Think hierarchically.