You can check a date resides between two dates.
Date.today.between?(Date.yesterday, Date.tomorrow)
will return true
Date.yesterday.between?(Date.today, Date.tomorrow)
will return false