Modules: RedshiftCopier
5 6 7 8
# File 'lib/redshift_copier.rb', line 5 def require_all(pattern) root = File.expand_path("../", File.dirname(__FILE__)) Dir.glob("#{root}/#{pattern}/**/*.rb").sort.each { |path| require path } end