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 be better-off as a self-extended module, and method defined in it do not automatically get added to the Object class.
Copying
Copyright (c) 2006 Thomas Sawyer
Ruby License
This module is free software. You may use, modify, and/or redistribute this software under the same terms as Ruby.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Authors
- Thomas Sawyer