Sha256: 1079dbf17f5f6420e1c217f9f11dacd0897d9b7ebbfe9649e02f15e50ad49540
Contents?: true
Size: 843 Bytes
Versions: 13
Compression:
Stored size: 843 Bytes
Contents
# TITLE: # # NackClass # # SUMMARY: # # Not Acknowledge. An alternatice to NilClass is cases where # nil is a valid option, but an non-option still needs to # be recorgnized. # # COPYRIGHT: # # Copyright (c) 2004 Thomas Sawyer # # LICENSE: # # 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. # # AUTHORS: # # - Thomas Sawyer # = NackClass # class NackClass < Exception end module Kernel # This is a light version of NackClass intended # for minor usecases. See mega/nack for a complete version. # def nack NackClass.new end end
Version data entries
13 entries across 13 versions & 1 rubygems