Replace all unless/else logic with if/else by reversing the order of the blocks.