Revision: 6860
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 20, 2008 11:27 by jccovey
Initial Code
class Dir
def self.require_all(directory)
self.entries(directory).each do |file|
if file =~ /\.rb/
require directory + file
end
end
end
end
Initial URL
Initial Description
Requires all Ruby source files in a given directory.
Initial Title
Scan and Require Ruby Files in Directory
Initial Tags
files, directory
Initial Language
Ruby