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
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 |