Module: CalendariumRomanum::Temporale::Extensions::ChristEternalPriest
- Defined in:
- lib/calendarium-romanum/temporale/extensions/christ_eternal_priest.rb
Overview
CalendariumRomanum::Temporale extension adding the movable feast of “Christ Eternal Priests”, included in some local calendars
Class Method Summary collapse
-
.christ_eternal_priest(year) ⇒ Date
Computes the feast’s date.
- .each_celebration {|Symbol, Celebration| ... } ⇒ void
Class Method Details
.christ_eternal_priest(year) ⇒ Date
Computes the feast’s date
32 33 34 |
# File 'lib/calendarium-romanum/temporale/extensions/christ_eternal_priest.rb', line 32 def self.christ_eternal_priest(year) Dates.pentecost(year) + 4 end |
.each_celebration {|Symbol, Celebration| ... } ⇒ void
This method returns an undefined value.
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/calendarium-romanum/temporale/extensions/christ_eternal_priest.rb', line 15 def self.each_celebration yield( # symbol refers to the date-computing method :christ_eternal_priest, Celebration.new( proc { I18n.t('temporale.extension.christ_eternal_priest') }, Ranks::FEAST_PROPER, Colours::WHITE, :christ_eternal_priest ) ) end |