Currently I am loading Ruby classes into each class file using the require command, for example:
require File.join(File.dirname(__FILE__), 'observation_worker')
require File.join(File.dirname(__FILE__), 'log_worker')
For each class I am defining the classes it requires. It would be great if I could do this at the entry point to my application.
Is there an easy way to load all the Ruby classes at the start of an application?