From: Chris Pine Date: 2003-05-21T01:00:02+09:00 Subject: Re: Strange mod_ruby ----- Original Message ----- From: "Dominik Werder" This seems to be a problem of mod_ruby. Ruby itself and irb handle this right. ---------------------------- 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. Chris