I want to see if I can simplify the 'require' process for the loading of this gem. Today we only 'require' a generated definition either when it is explicitly loaded or when the region is used for the first time. This means we have some weird 'requires' logic that is buried in our files.
It would be great if I could simply auto-require all generated definitions and then, when a region was loaded, I could simply call a method to 'merge' that into memory. It would also allow for a lot of other benefits, like allowing for methods to return all of the 'custom methods' and associating those custom methods only with that region. Today 'custom defined methods' are basically global, which sucks. It's just luck that we have not stepped on toes.
Today a user of the gem will require holidays
. This loads the main holidays code but does not require or load any generated definitions.