mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-30 00:00:43 -04:00
Make in_range? private
This commit is contained in:
+2
-2
@@ -34,8 +34,8 @@ struct Subscription
|
|||||||
@raw_last_checked = Time.utc.to_unix
|
@raw_last_checked = Time.utc.to_unix
|
||||||
end
|
end
|
||||||
|
|
||||||
def in_range?(value : String, lowerbound : Int64?,
|
private def in_range?(value : String, lowerbound : Int64?,
|
||||||
upperbound : Int64?) : Bool
|
upperbound : Int64?) : Bool
|
||||||
lb = lowerbound.try &.to_f64
|
lb = lowerbound.try &.to_f64
|
||||||
ub = upperbound.try &.to_f64
|
ub = upperbound.try &.to_f64
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user