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

Hi,

I was looking through your code, and there was a `unless/else` chain in the Scaler class that was pretty hard to read.
This PR simply shifts that to an `if/else` chain.

--
Jithu Gopal
[nilenso.com](http://nilenso.com)