From: John Maclean <info / jayeola.org>
Subject: ruby and Tk:- Menu's calling other widgets
Date: Wed, 25 Jan 2006 03:13:34 +0900
Message-ID: <20060125181233.5f308f41 / localhost.localdomain>
> that I can call another file. The idea is to have each type of widget
> organised into many smaller files.
> 
> It the proc{require 'another_widget'} way possible or recommended?

It must be possible, but I don't recommend it.
If your each type of widget is a class, 
'autoload' may be a good solution.
Please see some libraries in '<ruby-libs>/tkextlib/' directory
(e.g. 'tkextlib/iwidgets.rb' and files in 'textlib/iwidgets/').
-- 
Hidetoshi NAGAI (nagai / ai.kyutech.ac.jp)