"Christoph" <chr_news / gmx.net> writes:

> >    def nil.empty?
> >       true
> >    end
> 
> Have you tried using
> 
>  class NilClass
>     def empty?
>         true
>     end
> end


Hmm.. interesting.

The problem indeed goes away if I extend NilClass. So it would seem to
be a problem adding a singleton to NilClass under mod_ruby...  Anyone
any ideas?


Dave