From: Dominik Werder Date: 2003-05-21T16:56:51+09:00 Subject: Re: Strange mod_ruby > It's because you are wrapped in an anonymous module when you use > mod_ruby, > so you just created a new Fixnum class in that module, which has nothing > at > all to do with 2. > > If you put that code into another file and `require' it, it gets added to > the root namespace. I think you can also do something like > `2.class.module_eval { ... }', IIRC. thank you very much, this one got me really busy the last 2 days :) is there a reason for this kind of design? bye! Dominik