From: Yukihiro Matsumoto Date: 2006-08-18T01:54:06+09:00 Subject: Re: using a module at the toplevel doesn't work Hi, In message "Re: using a module at the toplevel doesn't work" on Thu, 17 Aug 2006 22:20:06 +0900, "Trans" writes: |Why? Becuase the module uses #define_method, and #define_method isn't |defined in main. | |Which brings me to two questions: | |1. How do I get around this problem? Please save me from having to |delgate the whole module! | |2. Why isn't main a self extended module to begin with? Honestly, this |question has been buigging me for a long time. I don't think I understand you. Can you elaborate? matz.