# File lib/require_all.rb, line 225
225:   def autoload_rel(*paths)
226:     paths.flatten!
227:     return false if paths.empty?
228:     require "pathname"
229: 
230:     options = {:method => :autoload}
231:     options.merge!(paths.pop) if paths.last.is_a?(Hash)
232: 
233:     source_directory = File.dirname caller.first.sub(/:\d+$/, '')
234:     paths.each do |path|
235:       file_path = Pathname.new(source_directory).join(path).to_s
236:       require_all file_path, {:method => :autoload,
237:                               :base_dir => source_directory}.merge(options)
238:     end
239:   end