Path: | lib/more/facets/nullclass.rb |
Last Update: | Thu Jun 24 13:18:25 +0000 2010 |
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.s
Copyright (c) 2005 Thomas Sawyer
Ruby License
This module is free software. You may use, modify, and/or redistribute this software under the same terms as Ruby.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.