Module: CalendariumRomanum::Temporale::Extensions::ChristEternalPriest

Defined in:
lib/calendarium-romanum/temporale/extensions/christ_eternal_priest.rb

Overview

Temporale extension adding feast of Christ Eternal Priests, included in some local calendars

Class Method Summary collapse

Class Method Details

.christ_eternal_priest(year) ⇒ Object

method computing date


19
20
21
# File 'lib/calendarium-romanum/temporale/extensions/christ_eternal_priest.rb', line 19

def self.christ_eternal_priest(year)
  Dates.pentecost(year) + 4
end

.each_celebration {|:christ_eternal_priest, Celebration.new( proc { I18n.t('temporale.extension.christ_eternal_priest') }, Ranks::FEAST_PROPER, Colours::WHITE )| ... } ⇒ Object

Yields:


7
8
9
10
11
12
13
14
15
16
# File 'lib/calendarium-romanum/temporale/extensions/christ_eternal_priest.rb', line 7

def self.each_celebration
  yield(
    :christ_eternal_priest,
    Celebration.new(
      proc { I18n.t('temporale.extension.christ_eternal_priest') },
      Ranks::FEAST_PROPER,
      Colours::WHITE
    )
  )
end