From: Alexey Petrushin Date: 2010-10-22T09:49:29+09:00 Subject: Re: Automatic ClassLoader (to eliminate 'require') Wow, nice to see that I'm not alone :) I accidentally mistyped the "Class Loader" gem url, sorry, here's the right one: 'class_loader' gem - http://github.com/alexeypetrushin/class_loader And one more thought - I also found it's handy to use kind of IoC container, so instead of thinking about file/class initialization and dependency you just require it when you need it, here's very basic sample class Logger register_as :logger end class Application inject :logger => :logger def do_business # now we can use injected component logger.info 'done' end end Details are here http://github.com/alexeypetrushin/micon, it's also available as the 'micon' gem -- Posted via http://www.ruby-forum.com/.