mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 10:55:30 -04:00
Make in_range?
private
This commit is contained in:
parent
8950c3a1ed
commit
bbf1520c73
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user