mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 19:05:32 -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
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user