From: Joel VanderWerf Date: 2008-06-03T07:48:38+09:00 Subject: Re: The duck's backside David Masover wrote: > Give me an example of a class that isn't a category. > > It might not be a category as far as your program logic is concerned, but it's > certainly a category of some kind. NilClass is a category of objects for whom > #nil? returns true, for example. class MyNil def nil? true end end p MyNil.new.nil? -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407