Fixes north america/US crosslinking stuff

master
Rowan Crawford 2010-04-29 01:12:14 +12:00
parent 7294779692
commit 43f1bfd748
1 changed files with 2 additions and 0 deletions

View File

@ -259,6 +259,8 @@ private
regions.flatten!
require "holidays/north_america" if regions.include?(:us) # special case for north_america/US cross-linking
raise UnknownRegionError unless regions.all? { |r| r == :any or @@regions.include?(r) or begin require "holidays/#{r.to_s}"; rescue LoadError; false; end }
regions
end