`if sleep_interval.to_i > 0` is better because `0` means `true` in ruby.
Ruby's false value is only `nil` and `false`. Any other values are true.