Fixes north america/US crosslinking stuff

This commit is contained in:
Rowan Crawford 2010-04-28 21:12:14 +08:00 committed by Alex Dunae
parent 642c53319f
commit 0aeaae378f

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