lib/time_range.rb
def dates
    b_date = Date.civil(self.begin.year, self.begin.month, self.begin.day)
    e_date = Date.civil(max.year, max.month, max.day)

    b_date..e_date
  end
# Returns the dates in the current TimeRange as a Range of Dates.
#
# @return [Range] the dates in the current time range
Returns the dates in the current TimeRange as a Range of Dates.
Returns the dates in the current TimeRange as a Range of Dates .
def dates
    b_date = Date.civil(self.begin.year, self.begin.month, self.begin.day)
    e_date = Date.civil(max.year, max.month, max.day)
    b_date..e_date
  end
def dates b_date = Date . civil ( self . begin . year , self . begin . month , self . begin . day ) e_date = Date . civil ( max . year , max . month , max . day ) b_date .. e_date end
Returns the dates in the current TimeRange as a Range of Dates.
Returns the dates in the current TimeRange as a Range of Dates .
the dates in the current time range
the dates in the current time range
Range