From: Nobuyoshi Nakada Date: 2008-08-18T10:35:01+09:00 Subject: Re: autoload with a block? Hi, At Fri, 15 Aug 2008 15:57:21 +0900, David Masover wrote in [ruby-talk:311365]: > autoload :Foo do > require 'foo' > Foo.autoload :Bar ... > end > > In that simplest form, it would at least centralize all my loading stuff in > one place. In a more meta form, I could run through some search paths I'm > likely to use (in my own app, for instance), and generate an autoload scheme > based on that. I don't think it makes things simpler, but it sounds interesting. You can file it in the ITS, if you want. -- Nobu Nakada