From: Gavin Sinclair Date: 2002-11-10T22:27:46+09:00 Subject: Re: [FAQ] Why use 'include' From: "Eric Schwartz" > As requested, here's a FAQ question & answer on the usage of modules > and 'include' > > Q: As a creator of re-usable code, when should I use 'module' and > 'include'? > > A: Surrounding your class definitions with "module Foo"/"end" is a > useful way to ensure that your code is kept in its own separate > namespace. This ensures that the names you pick for your classes > won't conflict with anyone else's. An example: > > [about 70 lines snipped ;] Let me add to the chorus of praise :) We may have a FAQ book out in no time! Gavin