Class: Calrom::ThreeMonths

Inherits:
DateRange show all
Defined in:
lib/calrom/date_range.rb

Instance Method Summary collapse

Methods inherited from DateRange

#each_month, #spans_multiple_months?

Constructor Details

#initialize(year, month) ⇒ ThreeMonths

Returns a new instance of ThreeMonths.



49
50
51
# File 'lib/calrom/date_range.rb', line 49

def initialize(year, month)
  super first_day_of_last_month(year, month), last_day_of_next_month(year, month)
end