# File lib/require_all.rb, line 211 211: def autoload_all(*paths) 212: paths.flatten! 213: return false if paths.empty? 214: require "pathname" 215: 216: options = {:method => :autoload} 217: options.merge!(paths.pop) if paths.last.is_a?(Hash) 218: 219: paths.each do |path| 220: require_all path, {:base_dir => path}.merge(options) 221: end 222: end