I have an event with start_time and end_time and want to check if the event is \"in progress\". That would be to check if today\'s date is in the r
start_time
end_time
Because the date class includes the Comparable module, every date object has a between? method.
between?
require 'date' today = Date.today tomorrow = today + 1 one_month_later = today >> 1 tomorrow.between?(today, one_month_later) # => true