Class: CalendariumRomanum::Util::Year

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

Overview

enumerates days of a year

Instance Method Summary collapse

Methods inherited from DateEnumerator

#each, #enumeration_over?

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