Hi, At Wed, 5 Oct 2005 21:48:35 +0900, TRANS wrote in [ruby-core:06161]: > As you can see I wanted to subclass NilClass, but this proved > impossible, b/c there is no way to instantiate the class. Becasue of > this one can't do As far as I thik, NilClass is not important in Ruby, but rather trivial instead. It's just a singleton class for nil, although it has a name occasionally. > unless o.x.y #null > > because null is considered true. So that's problematic to George too. > > So I'm wondering if Ruby might want to take this into account for the > future, either by adding NullClass, or allowing for subclasses of > NilClass. Perhaps, what you want would be context sensitive nil object. > \ o) елеще┴ BTW, what does this mean? -- Nobu Nakada