Class: CalendariumRomanum::Util::Month
- Inherits:
-
DateEnumerator
- Object
- DateEnumerator
- CalendariumRomanum::Util::Month
- Defined in:
- lib/calendarium-romanum/util.rb
Overview
Enumerates days of a month
Instance Method Summary collapse
-
#initialize(year, month) ⇒ Month
constructor
A new instance of Month.
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 |