Hi, is there any preferred way to load/require all the fiels in a
For example, my main file does:
and file “header.rb” must load all the related files contained in
“headers/” directory. I do the following in “header.rb”:
headers_path = File.dirname(FILE) + ‘/headers’
Dir["*.rb"].each do |file|
Is it enought ok or can it receive some Ruby’s magic? XD
Thanks for any suggestion.