Class: Feriados::Loader
- Inherits:
-
Object
- Object
- Feriados::Loader
- Defined in:
- lib/feriados/loader.rb
Instance Method Summary collapse
-
#initialize(file, calendar) ⇒ Loader
constructor
A new instance of Loader.
- #load ⇒ Object
Constructor Details
#initialize(file, calendar) ⇒ Loader
Returns a new instance of Loader.
3 4 5 6 |
# File 'lib/feriados/loader.rb', line 3 def initialize(file, calendar) @file = file @calendar = calendar end |
Instance Method Details
#load ⇒ Object
8 9 10 11 12 13 |
# File 'lib/feriados/loader.rb', line 8 def load load_day_of_month load_functions load_fix_weekdays load_fix_days end |