Cucumber Ruby. Range check added to parameter range builder