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
79 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 79 celebration(:ascension, Ranks::PRIMARY) |
.ash_wednesday ⇒ Celebration
64 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 64 celebration(:ash_wednesday, Ranks::PRIMARY, Colours::VIOLET) |
.baptism_of_lord ⇒ Celebration
61 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 61 celebration(:baptism_of_lord, Ranks::FEAST_LORD_GENERAL) |
.christ_king ⇒ Celebration
94 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 94 celebration(:christ_king, Ranks::SOLEMNITY_GENERAL) |
.corpus_christi ⇒ Celebration
88 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 88 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
76 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 76 celebration(:easter_sunday, Ranks::TRIDUUM) |
.epiphany ⇒ Celebration
58 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 58 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
67 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 67 celebration(:good_friday, Ranks::TRIDUUM, Colours::RED) |
.holy_family ⇒ Celebration
52 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 52 celebration(:holy_family, Ranks::FEAST_LORD_GENERAL) |
.holy_saturday ⇒ Celebration
70 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 70 celebration(:holy_saturday, Ranks::TRIDUUM, Colours::VIOLET) |
.holy_trinity ⇒ Celebration
85 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 85 celebration(:holy_trinity, Ranks::SOLEMNITY_GENERAL) |
.immaculate_heart ⇒ Celebration
100 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 100 celebration(:immaculate_heart, Ranks::MEMORIAL_GENERAL) |
.mother_of_church ⇒ Celebration
97 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 97 celebration(:mother_of_church, Ranks::MEMORIAL_GENERAL) |
.mother_of_god ⇒ Celebration
55 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 55 celebration(:mother_of_god, Ranks::SOLEMNITY_GENERAL, fixed_date: AbstractDate.new(1, 1)) |
.nativity ⇒ Celebration
49 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 49 celebration(:nativity, Ranks::PRIMARY, fixed_date: AbstractDate.new(12, 25)) |
.palm_sunday ⇒ Celebration
73 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 73 celebration(:palm_sunday, Ranks::PRIMARY, Colours::RED) |
.pentecost ⇒ Celebration
82 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 82 celebration(:pentecost, Ranks::PRIMARY, Colours::RED) |
.sacred_heart ⇒ Celebration
91 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 91 celebration(:sacred_heart, Ranks::SOLEMNITY_GENERAL) |
.saturday_memorial_bvm ⇒ Celebration
103 |
# File 'lib/calendarium-romanum/temporale/celebration_factory.rb', line 103 celebration(:saturday_memorial_bvm, Ranks::MEMORIAL_OPTIONAL) |