Class: CalendariumRomanum::Util::Year
- Inherits:
-
DateEnumerator
- Object
- DateEnumerator
- CalendariumRomanum::Util::Year
- Defined in:
- lib/calendarium-romanum/util.rb
Overview
enumerates days of a year
Instance Method Summary collapse
-
#initialize(year) ⇒ Year
constructor
A new instance of Year.
Methods inherited from DateEnumerator
Constructor Details
#initialize(year) ⇒ Year
Returns a new instance of Year.
26 27 28 29 |
# File 'lib/calendarium-romanum/util.rb', line 26 def initialize(year) @start = Date.new year, 1, 1 @prop = :year end |