Class: CalendariumRomanum::Temporale::CelebrationFactory
- Inherits:
-
Object
- Object
- CalendariumRomanum::Temporale::CelebrationFactory
- Defined in:
- lib/calendarium-romanum/temporale/celebration_factory.rb
Overview
Provides factory methods building Celebrations for temporale feasts
Class Method Summary collapse
- .ascension ⇒ Celebration
- .ash_wednesday ⇒ Celebration
- .baptism_of_lord ⇒ Celebration
- .christ_king ⇒ Celebration
- .corpus_christi ⇒ Celebration
- .each {|Symbol| ... } ⇒ void, Enumerator
- .easter_sunday ⇒ Celebration
- .epiphany ⇒ Celebration
- .first_advent_sunday ⇒ Celebration
- .good_friday ⇒ Celebration
- .holy_family ⇒ Celebration
- .holy_saturday ⇒ Celebration
- .holy_trinity ⇒ Celebration
- .immaculate_heart ⇒ Celebration
- .mother_of_church ⇒ Celebration
- .mother_of_god ⇒ Celebration
- .nativity ⇒ Celebration
- .palm_sunday ⇒ Celebration
- .pentecost ⇒ Celebration
- .sacred_heart ⇒ Celebration
- .saturday_memorial_bvm ⇒ Celebration
Class Method Details
.ascension ⇒ Celebration
80 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 80 celebration(:ascension, Ranks::PRIMARY) |
.ash_wednesday ⇒ Celebration
65 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 65 celebration(:ash_wednesday, Ranks::PRIMARY, Colours::VIOLET) |
.baptism_of_lord ⇒ Celebration
62 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 62 celebration(:baptism_of_lord, Ranks::FEAST_LORD_GENERAL) |
.christ_king ⇒ Celebration
95 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 95 celebration(:christ_king, Ranks::SOLEMNITY_GENERAL) |
.corpus_christi ⇒ Celebration
89 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 89 celebration(:corpus_christi, Ranks::SOLEMNITY_GENERAL) |
.each {|Symbol| ... } ⇒ void, Enumerator
9 10 11 12 13 14 15 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 9 def each return to_enum(__method__) unless block_given? celebrations.each do |symbol| yield public_send(symbol) end end |
.easter_sunday ⇒ Celebration
77 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 77 celebration(:easter_sunday, Ranks::TRIDUUM) |
.epiphany ⇒ Celebration
59 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 59 celebration(:epiphany, Ranks::PRIMARY) |
.first_advent_sunday ⇒ Celebration
18 19 20 21 22 23 24 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 18 def first_advent_sunday Temporale.create_celebration( I18n.t('temporale.advent.sunday', week: Ordinalizer.ordinal(1)), Ranks::PRIMARY, Colours::VIOLET ) end |
.good_friday ⇒ Celebration
68 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 68 celebration(:good_friday, Ranks::TRIDUUM, Colours::RED) |
.holy_family ⇒ Celebration
53 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 53 celebration(:holy_family, Ranks::FEAST_LORD_GENERAL) |
.holy_saturday ⇒ Celebration
71 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 71 celebration(:holy_saturday, Ranks::TRIDUUM, Colours::VIOLET) |
.holy_trinity ⇒ Celebration
86 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 86 celebration(:holy_trinity, Ranks::SOLEMNITY_GENERAL) |
.immaculate_heart ⇒ Celebration
101 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 101 celebration(:immaculate_heart, Ranks::MEMORIAL_GENERAL) |
.mother_of_church ⇒ Celebration
98 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 98 celebration(:mother_of_church, Ranks::MEMORIAL_GENERAL) |
.mother_of_god ⇒ Celebration
56 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 56 celebration(:mother_of_god, Ranks::SOLEMNITY_GENERAL, fixed_date: AbstractDate.new(1, 1)) |
.nativity ⇒ Celebration
50 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 50 celebration(:nativity, Ranks::PRIMARY, fixed_date: AbstractDate.new(12, 25)) |
.palm_sunday ⇒ Celebration
74 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 74 celebration(:palm_sunday, Ranks::PRIMARY, Colours::RED, sunday: true) |
.pentecost ⇒ Celebration
83 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 83 celebration(:pentecost, Ranks::PRIMARY, Colours::RED) |
.sacred_heart ⇒ Celebration
92 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 92 celebration(:sacred_heart, Ranks::SOLEMNITY_GENERAL) |
.saturday_memorial_bvm ⇒ Celebration
104 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 104 celebration(:saturday_memorial_bvm, Ranks::MEMORIAL_OPTIONAL) |