Fixes north america/US crosslinking stuff

master
Rowan Crawford 2010-04-28 21:12:14 +08:00 committed by Alex Dunae
parent 642c53319f
commit 0aeaae378f
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