Class: Calrom::SanctoraleFile

Inherits:
CR::Data::SanctoraleFile
  • Object
show all
Defined in:
lib/calrom/sanctorale_file.rb

Overview

Wraps arbitrary sanctorale files and allows handling and loading them exactly the same way as bundled sanctorale files.

Erm, yes, according to calendarium-romanum documentation the parent class is actually not intended for use like this. But we take the risk of breakage by future calendarium-romanum releases ;)

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ SanctoraleFile

Returns a new instance of SanctoraleFile.



9
10
11
12
# File 'lib/calrom/sanctorale_file.rb', line 9

def initialize(path)
  @siglum = nil
  @path = path
end