nullclass.rb

Path: lib/more/facets/nullclass.rb
Last Update: Wed Jan 05 06:24:23 +0000 2011

Nullclass

NullClass is essentially NilClass but it differs in one important way. When a method is called against it that it deoesn‘t have, it will simply return null value rather then raise an error.

TODO: Perhaps NullClass should be called NackClass?

[Validate]