From bbf1520c73e1232fd48f2f0304c1e523b586191e Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Sun, 14 Mar 2021 17:36:26 +0000 Subject: [PATCH] Make `in_range?` private --- src/subscription.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subscription.cr b/src/subscription.cr index 1c0764a..e391360 100644 --- a/src/subscription.cr +++ b/src/subscription.cr @@ -34,8 +34,8 @@ struct Subscription @raw_last_checked = Time.utc.to_unix end - def in_range?(value : String, lowerbound : Int64?, - upperbound : Int64?) : Bool + private def in_range?(value : String, lowerbound : Int64?, + upperbound : Int64?) : Bool lb = lowerbound.try &.to_f64 ub = upperbound.try &.to_f64