Make in_range? private

This commit is contained in:
Alex Ling 2021-03-14 17:36:26 +00:00
parent 8950c3a1ed
commit bbf1520c73

View File

@ -34,7 +34,7 @@ struct Subscription
@raw_last_checked = Time.utc.to_unix
end
def in_range?(value : String, lowerbound : Int64?,
private def in_range?(value : String, lowerbound : Int64?,
upperbound : Int64?) : Bool
lb = lowerbound.try &.to_f64
ub = upperbound.try &.to_f64