# main.rb

Path: | lib/supplemental/facets/main.rb
Last Update: | Mon Dec 05 22:58:33 +0000 2011

# Main as Module

Main, ie. the top-level object, is not fully in-sync with Module. So, certain methods like define_method do not work. This library fixes this.

Techinally it is this authors opinion that the top-level object most likely would be better-off as a self-extended module, and methods defined in it do not automatically get added to the Object class.

On the other hand. It is probably best to never use the toplevel except as a jumping in point to youre own namespace.

Note that none of this would be needed if Main were just a self extended module.

[Validate]