#:title: Nil Missing #-- # Nil Missing # v 0.1 # # 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. # # # $Id: nil-missing.rb,v 0.1 2005/04/28 03:10:10 transami Exp $ # # ========================================================================== # Revision History :: # YYYY.MM.DD Ver. Dev. Description # -------------------------------------------------------------------------- # 2005.04.28 0.1 Trans * Minor modifications to documentation. # ========================================================================== #++ # = Description # # To do. # class NilClass # Have nil respond to all non-existent methods, # always returning nil. # # require 'facet/nil/nil_missing' # # nil.foo #=> nil # def method_missing(meth, *args) nil end end