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.



45
46
47
48
# File 'lib/calendarium-romanum/util.rb', line 45

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