Refactor a hard-to-read `unless/else` chain in scaler.rb
Merge pull request #54 from jithugopal/patch-1

Refactor a hard-to-read `unless/else` chain in scaler.rb