Hi Guy,

On Sun, 6 Jun 2004 19:31:56 +0900
ts <decoux / moulon.inra.fr> wrote:

> X> irb(main):001:0> def NilClass.method_missing(m, *a)
> 
>   you have defined a singleton method for the object NilClass
> 

I know I defined a singleton method for object a, but I don't quite
understand why I am defining a singleton for NilClass, by doing

def NilClass.method_missing...

Can NilClass be an object name rather than the Class NilClass? If I am
defining a singleton method, then, does the OBJECT NilClass has to exist
before I define the singleton method?

thanks,
Shannon