From: Jeremy Henty Date: 2007-05-26T22:05:02+09:00 Subject: Re: Forward references? On 2007-05-26, Peter Seebach wrote: > class Foo > def initialize > @bar = Foo::Bar.new(self) > end > end > > [snip] > > ... If I put Foo::Bar in its own file, should foo.rb be responsible > for requiring it? I would say yes. My rule of thumb is that any file that explicitly calls some API must explicitly require/use/#include/... that API. IOW, batteries *should* be included; don't force your users to make extra trips to the shops. Regards, Jeremy Henty