Helder Ribeiro wrote:
> This is an aesthetic problem: I have a method in a module, and I want
> to include it in three different classes (they're all in the same
> file). This method refers itself to one of those classes. So i have to
> include the module into the classes, but for the method to be parsed,
> one of those classes needs to be already defined.

You're still thinking in terms of static typing. In this case you 
*don't* have a circular dependency. You can load ElementFactory first 
and it doesn't matter if Element is not yet defined, as long as you 
don't invoke the method 'element_factory'

Daniel