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.


53
54
55
56
# File 'lib/calendarium-romanum/util.rb', line 53

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