From: Rick Tan Date: 2011-07-30T05:00:44+09:00 Subject: ruby 'require' working on a ruby project with several files all lumped into a single subdirectory. I would like to organize it more logically by grouping files that share the same functionality. For example instead of main.rb allfiles << subdir afile bfile cfile dfile would like reorganize these into main.rb allfiles << subdir func1 << subdir afile bfile func2 << subdir cfile dfile Any trick i can use to simply pulling these files into main.rb. So instead of require 'allfiles/func1/afile' . . . require 'allfiles/func2/dfile' i would like to use a more simplified require instead of enumerating each of the files. -- Posted via http://www.ruby-forum.com/.