Class: CalendariumRomanum::Util::Month

Inherits:
DateEnumerator show all
Defined in:
lib/calendarium-romanum/util.rb

Overview

enumerates days of a month

Instance Method Summary collapse

Methods inherited from DateEnumerator

#each, #enumeration_over?

Constructor Details

#initialize(year, month) ⇒ Month

Returns a new instance of Month.



34
35
36
37
# File 'lib/calendarium-romanum/util.rb', line 34

def initialize(year, month)
  @start = Date.new year, month, 1
  @prop = :month
end